Skip to content

Commit

Permalink
fixed bug where aggregating ignored --keep_decoys flag
Browse files Browse the repository at this point in the history
  • Loading branch information
jspaezp committed Jul 18, 2021
1 parent 0c09986 commit d69167f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mokapot/mokapot.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,11 @@ def main():
# Determine how to write the results:
logging.info("Writing results...")
if config.aggregate or len(config.psm_files) == 1:
psms.to_txt(dest_dir=config.dest_dir, file_root=config.file_root)
psms.to_txt(
dest_dir=config.dest_dir,
file_root=config.file_root,
decoys=config.keep_decoys,
)
else:
for dat, prefix in zip(psms, prefixes):
if config.file_root is not None:
Expand Down

0 comments on commit d69167f

Please sign in to comment.