Skip to content

Commit 740b969

Browse files
author
Sanjay Gopala Krishna
committed
adding exit code if given protein are not found in input file
1 parent 9d71268 commit 740b969

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ProtPeptigram/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def run_pipeline(
176176
console.print("Warning: None of the specified proteins were found in the data.")
177177
# # Fall back to top proteins if specified proteins not found
178178
# proteins_to_visualize = select_abundant_proteins(processor, top_n=top, min_peptides=1)
179-
sys.exit(1)
179+
sys.exit(0)
180180
else:
181181
# Use top proteins by peptide count
182182
proteins_to_visualize = select_abundant_proteins(processor, top_n=top, min_peptides=1)

0 commit comments

Comments
 (0)