From 951e14492f70d6cf9a5cd3b4b41e4f515799efd9 Mon Sep 17 00:00:00 2001 From: Adibvafa Fallahpour <90617686+Adibvafa@users.noreply.github.com> Date: Fri, 6 Oct 2023 10:15:20 -0400 Subject: [PATCH] Create __init__.py (#490) * Create __init__.py The following code fails because 'tasks' will be loaded as 'tasks.py' file instead of the directory containing 'mortalitiy_prediction'. from cyclops.tasks.mortality_prediction import MortalityPredictionTask Signed-off-by: Adibvafa Fallahpour <90617686+Adibvafa@users.noreply.github.com> * Update __init__.py Added new imports. Signed-off-by: Adibvafa Fallahpour <90617686+Adibvafa@users.noreply.github.com> * Apply ruff formatting fix --------- Signed-off-by: Adibvafa Fallahpour <90617686+Adibvafa@users.noreply.github.com> Co-authored-by: Amrit K --- cyclops/tasks/__init__.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 cyclops/tasks/__init__.py diff --git a/cyclops/tasks/__init__.py b/cyclops/tasks/__init__.py new file mode 100644 index 000000000..a008fb876 --- /dev/null +++ b/cyclops/tasks/__init__.py @@ -0,0 +1,3 @@ +"""Tasks package.""" +from cyclops.tasks.cxr_classification import CXRClassificationTask +from cyclops.tasks.mortality_prediction import MortalityPredictionTask