Skip to content

Commit 25508a6

Browse files
committed
Move MS2DeepScoresForTopInChikeys since not used for core functionality
1 parent d1ece96 commit 25508a6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ms2query/ms2query_development/MS2DeepScoresForTopInChikeys.py renamed to ms2query/ms2query_development/reference_methods/MS2DeepScoresForTopInChikeys.py

File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
All files here are not important to core functionality and in fact not used, but might be nice to use for future testing. They are currently not yet used in the notebooks. Once they are used there they can probably be removed here.
1+
All files here are not important to core functionality and in fact not used for running the final version of MS2Query. However MS2DeepSCoresForTopInChikeys is core to the benchmarking in the notebooks. predict_best_possible_match and EvaluateExactMatchSearch are not yet used for the benchmarking, but both should still be done, so this could be used for that.

ms2query/notebooks/develop_and_compare_ms2query_2.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@
509509
}
510510
],
511511
"source": [
512-
"from ms2query.ms2query_development.MS2DeepScoresForTopInChikeys import calculate_MS2DeepScoresForTopKInChikeys\n",
512+
"from ms2query.ms2query_development.reference_methods.MS2DeepScoresForTopInChikeys import calculate_MS2DeepScoresForTopKInChikeys\n",
513513
"close_tanimoto_scores = calculate_MS2DeepScoresForTopKInChikeys(pos_train_spectra, pos_val_spectra, top_k_tanimoto_scores, inchikeys_with_highest_ms2deepscores)"
514514
]
515515
},
@@ -2633,7 +2633,7 @@
26332633
"from ms2query.ms2query_development.Fingerprints import Fingerprints\n",
26342634
"from ms2query.ms2query_development.TopKTanimotoScores import TopKTanimotoScores\n",
26352635
"from ms2query.ms2query_development.predict_top_k_ms2deepscore import select_inchikeys_with_highest_ms2deepscore\n",
2636-
"from ms2query.ms2query_development.MS2DeepScoresForTopInChikeys import calculate_MS2DeepScoresForTopKInChikeys\n",
2636+
"from ms2query.ms2query_development.reference_methods.MS2DeepScoresForTopInChikeys import calculate_MS2DeepScoresForTopKInChikeys\n",
26372637
"\n",
26382638
"neg_val_fingerprints = Fingerprints.from_spectrum_set(neg_val_spectra, \"daylight\", 4096)\n",
26392639
"neg_train_fingerprints = Fingerprints.from_spectrum_set(neg_train_spectra, \"daylight\", 4096)\n",

0 commit comments

Comments
 (0)