fixed docker Julia issues, tested reproductability across all scripts through the docker

This commit is contained in:
Pixelguy14
2026-06-03 13:38:45 -06:00
parent 3143e29843
commit 242fc6a445
13 changed files with 410 additions and 183 deletions
+2 -2
View File
@@ -147,11 +147,11 @@ def isotope_validation(X_features, mzs):
isotope_dist = []
random_dist = []
# Find isotopic pairs (M+H and M+H+1, diff ~ 1.0033)
# Find isotopic pairs (Adjusted to allow for binned channel drift)
for i in range(len(mzs)):
for j in range(i + 1, len(mzs)):
diff = abs(mzs[i] - mzs[j])
if 1.00 < diff < 1.01: # Heuristic for C13 isotope
if 0.95 <= diff <= 1.05: # Accommodates binned spacing variations
dist = np.linalg.norm(X_norm[i] - X_norm[j])
isotope_dist.append(dist)