Skip to content

Commit

Permalink
Create __init__.py (#490)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>

* Update __init__.py

Added new imports.

Signed-off-by: Adibvafa Fallahpour <[email protected]>

* Apply ruff formatting fix

---------

Signed-off-by: Adibvafa Fallahpour <[email protected]>
Co-authored-by: Amrit K <[email protected]>
  • Loading branch information
Adibvafa and amrit110 authored Oct 6, 2023
1 parent f201975 commit 951e144
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cyclops/tasks/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"""Tasks package."""
from cyclops.tasks.cxr_classification import CXRClassificationTask
from cyclops.tasks.mortality_prediction import MortalityPredictionTask

0 comments on commit 951e144

Please sign in to comment.