Skip to content

Commit

Permalink
Fixed test keyword argument changes
Browse files Browse the repository at this point in the history
  • Loading branch information
urbj committed Dec 5, 2024
1 parent 5ce3b3b commit c5749e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_CandyCrumbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def test_candy_crumbs(self):
]
total_score = 0
for test_dict in test_dicts:
result = CandyCrumbs(test_dict['glycan_string'], test_dict['masses'], 0.2, charge=test_dict['charge'],label_mass=test_dict['label_mass'])
result = CandyCrumbs(test_dict['glycan_string'], test_dict['masses'], 0.2, charge=test_dict['charge'],mass_tag=test_dict['label_mass'])

total_annotations = len(test_dict['annotations'])
correct_annotations = 0
Expand All @@ -82,4 +82,4 @@ def test_candy_crumbs(self):
print(f"Test passed. Score: {total_score:.2f}, Threshold: {threshold}")

if __name__ == '__main__':
unittest.main()
unittest.main()

0 comments on commit c5749e5

Please sign in to comment.