Skip to content

Commit c7516d8

Browse files
committed
Merge branch 'fix/duplicate-category-maps' of github.com:RolnickLab/antenna into fix/duplicate-category-maps
2 parents 7343a4b + 357244a commit c7516d8

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

ami/ml/models/pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ def save_results(
852852
)
853853

854854
algorithms_known: dict[str, Algorithm] = {algo.key: algo for algo in pipeline.algorithms.all()}
855-
job_logger.info(f"Algorithms registered for pipeline: \n{''.join(algorithms_known.keys())}")
855+
job_logger.info(f"Algorithms registered for pipeline: \n{', '.join(algorithms_known.keys())}")
856856

857857
if results.algorithms:
858858
logger.warning(

ami/ml/tests.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,8 +553,6 @@ def test_unknown_algorithm_returned_by_processing_service(self):
553553
self.assertEqual(new_algorithm_count, current_total_algorithm_count)
554554

555555
# Ensure new algorithms were also added to the pipeline
556-
# self.assertTrue(self.pipeline.algorithms.filter(name=new_detector.name, key=new_detector.key).exists())
557-
# self.assertTrue(self.pipeline.algorithms.filter(name=new_classifier.name, key=new_classifier.key).exists())
558556

559557
def test_yes_reprocess_if_new_terminal_algorithm_same_intermediate(self):
560558
"""

0 commit comments

Comments
 (0)