Skip to content

Commit

Permalink
Fix missing return value
Browse files Browse the repository at this point in the history
  • Loading branch information
melihyilmaz authored Sep 22, 2023
1 parent 4ab4728 commit d906679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion casanovo/casanovo.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def train(
provided by MassIVE-KB, from which to train a new Casnovo model.
"""
output = setup_logging(output, verbosity)
config = setup_model(model, config, output, True)
config, model = setup_model(model, config, output, True)
with ModelRunner(config, model) as runner:
logger.info("Training a model from:")
for peak_file in train_peak_path:
Expand Down

0 comments on commit d906679

Please sign in to comment.