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
168 stars 50 forks source link

Jobs remain in queued state when input validation fails #3325

Open jmsmkn opened 2 months ago

jmsmkn commented 2 months ago

Celery errors are uncaught in the job creation process. Now there is a celery task with no task name, and just:

{"exc_type": "ChordError", "exc_message": ["ValidationError([\"{'__all__': [ValidationError(['Image segments could not be determined, ensure the voxel values are integers and that it contains no more than 64 segments. Ensure the image has the minimum and maximum voxel values set as tags if the image is a TIFF file.'])]}\"])"], "exc_module": "celery.exceptions"}