Skip to content

Commit

Permalink
Update feat_extractor.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbinBouwmeester authored Sep 19, 2023
1 parent 081b754 commit 61bab3b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deeplc/feat_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,9 @@ def rolling_sum(a, n=2):
try:
matrix[i, dict_index[k]] = v
except IndexError:
logger.warning(f"Could not add the following value: {v}")
logger.warning(f"Could not add the following value: pos {i} for atom {k} with value {v}")
except KeyError:
logger.warning(f"Could not add the following value: pos {i} for atom {k} with value {v}")

for p in positions_pos:
aa = seq[p]
Expand Down

0 comments on commit 61bab3b

Please sign in to comment.