File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -492,7 +492,7 @@ def rolling_sum(a, n=2):
492
492
matrix_hc [i , dict_aa [peptide_position [0 ]]] = 1.
493
493
except KeyError :
494
494
logger .warning (
495
- "Skipping the following (not in library): " , peptide_position [ 1 ] )
495
+ f "Skipping the following (not in library): { i } { peptide_position } " )
496
496
except IndexError :
497
497
# Likely to be a sequence > 60 AA
498
498
logger .warning (f"Could not add the following atom: { i } { peptide_position } " )
@@ -502,7 +502,7 @@ def rolling_sum(a, n=2):
502
502
modification_composition = peptide_position [1 ][0 ].composition
503
503
except KeyError :
504
504
logger .warning (
505
- "Skipping the following (not in library): " , peptide_position [1 ])
505
+ f "Skipping the following (not in library): { peptide_position [1 ]} " )
506
506
continue
507
507
508
508
for atom_position_composition ,atom_change in modification_composition .items ():
You can’t perform that action at this time.
0 commit comments