Skip to content

Commit

Permalink
fixed test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
csbrasnett committed Jun 14, 2024
1 parent 967b002 commit f161624
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions polyply/src/apply_modifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def apply_terminal_mod(meta_molecule, modifications):
"""

if not modifications:
return
return meta_molecule

molecule = meta_molecule.molecule

Check warning on line 59 in polyply/src/apply_modifications.py

View check run for this annotation

Codecov / codecov/patch

polyply/src/apply_modifications.py#L59

Added line #L59 was not covered by tests

Expand Down Expand Up @@ -105,6 +105,6 @@ def run_molecule(self, meta_molecule):
if self.protter:
self.modifications = annotate_protein(meta_molecule)

Check warning on line 106 in polyply/src/apply_modifications.py

View check run for this annotation

Codecov / codecov/patch

polyply/src/apply_modifications.py#L106

Added line #L106 was not covered by tests

meta_molecule = apply_terminal_mod(meta_molecule, self.modifications)
apply_terminal_mod(meta_molecule, self.modifications)

return meta_molecule
Original file line number Diff line number Diff line change
@@ -1 +1 @@
polyply gen_itp -lib martini3 -seqf ../PNt.fasta -o PROT.itp -name PROT -ter
polyply gen_itp -lib martini3 -seqf ../PNt.fasta -o PROT.itp -name PROT -protter

0 comments on commit f161624

Please sign in to comment.