Skip to content

Commit a6f43d6

Browse files
authored
Merge pull request #80 from Noble-Lab/fix_ext
Fix HDF5 extension
2 parents 05fcf49 + 92c4d66 commit a6f43d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

casanovo/denovo/model_runner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ def _execute_existing(
112112
)
113113
# Read the MS/MS spectra for which to predict peptide sequences.
114114
if annotated:
115-
peak_ext = (".mgf", ".h5", "hdf5")
115+
peak_ext = (".mgf", ".h5", ".hdf5")
116116
else:
117-
peak_ext = (".mgf", ".mzml", ".mzxml", ".h5", "hdf5")
117+
peak_ext = (".mgf", ".mzml", ".mzxml", ".h5", ".hdf5")
118118
if len(peak_filenames := _get_peak_filenames(peak_path, peak_ext)) == 0:
119119
logger.error("Could not find peak files from %s", peak_path)
120120
raise FileNotFoundError("Could not find peak files")

0 commit comments

Comments
 (0)