Spaces:
Running
Running
Update Helper_Functions.py
Browse files- Helper_Functions.py +1 -1
Helper_Functions.py
CHANGED
|
@@ -169,7 +169,7 @@ def _conver_PFhxms_to_hxms(dataset_file_path,protein_sequence,saturation,ph,temp
|
|
| 169 |
if peptide_name not in hxms.peptides[protein_name][state_name]:
|
| 170 |
hxms.peptides[protein_name][state_name][peptide_name] = {}
|
| 171 |
if tp.isotope_envelope is None and tp.deut_time != np.inf:
|
| 172 |
-
|
| 173 |
continue
|
| 174 |
key = protein_name + "_" + state_name + "_" + str(tp.peptide.start) + "_" + str(tp.peptide.end) + "_" + str(0.0)
|
| 175 |
if key in tp_dict:
|
|
|
|
| 169 |
if peptide_name not in hxms.peptides[protein_name][state_name]:
|
| 170 |
hxms.peptides[protein_name][state_name][peptide_name] = {}
|
| 171 |
if tp.isotope_envelope is None and tp.deut_time != np.inf:
|
| 172 |
+
print(f"No envelope for {tp.peptide.identifier} {tp.deut_time}")
|
| 173 |
continue
|
| 174 |
key = protein_name + "_" + state_name + "_" + str(tp.peptide.start) + "_" + str(tp.peptide.end) + "_" + str(0.0)
|
| 175 |
if key in tp_dict:
|