Noble-Lab / casanovo

De Novo Mass Spectrometry Peptide Sequencing with a Transformer Model
https://casanovo.readthedocs.io
Apache License 2.0
102 stars 37 forks source link

Issue an error for unrecognized config file entries #236

Closed wsnoble closed 9 months ago

wsnoble commented 1 year ago

We recently renamed one of the parameters in the config file, and I used an old config file for a while without realizing that one of my parameters was incorrect and hence having no effect. I think we should modify the config file parser so that if the file contains any unrecognized entries, Casanovo stops with an error.

It should also stop with an error if there any of the expected entries is missing.

ishagokhale commented 9 months ago

resolved through PR #257