Skip to content

Commit

Permalink
Revert fasta assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfG committed May 9, 2024
1 parent 2275a97 commit fd34319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ms2pip/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ def predict_library(
"""
if fasta_file and config:
# Use provided proteome, but overwrite fasta_file
config["fasta_file"] = fasta_file
config = ProteomeSearchSpace.from_any(config)
config.fasta_file = fasta_file
elif fasta_file and not config:
# Default proteome search space with provided fasta_file
config = ProteomeSearchSpace(fasta_file=fasta_file)
Expand Down

0 comments on commit fd34319

Please sign in to comment.