comic / grand-challenge.org

A platform for end-to-end development of machine learning solutions in biomedical imaging
https://grand-challenge.org
Apache License 2.0
167 stars 49 forks source link

Only allow linking algorithms with active image to archive #3362

Closed amickan closed 1 month ago

amickan commented 1 month ago

At the moment, users can add algorithms without an active image to an archive. When doing so, create_algorithm_jobs_for_archive will fail to schedule jobs for those algorithms because of the missing image.

This PR catches the error and skips over algorithms without an active image. I also propose to limit the algorithm choices in the archive form to those with active images.