Skip to content

Commit

Permalink
remove profile import from utils/__init__.py
Browse files Browse the repository at this point in the history
- avoids `SIMPA_PROFILE` env var being checked at first import of simpa
- @Profile decorator is now imported using `from simpa.utils.profiling import profile`
- allows env var to be set later in script
  • Loading branch information
lkeegan committed Jun 10, 2024
1 parent dd85cbb commit cec9d9e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion simpa/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from .libraries.literature_values import StandardProperties
from .libraries.literature_values import OpticalTissueProperties
from .constants import SegmentationClasses
from .profile import profile

# Then load classes and methods with an <b>increasing</b> amount of internal dependencies.
# If there are import errors in the tests, it is probably due to an incorrect
Expand Down
File renamed without changes.

0 comments on commit cec9d9e

Please sign in to comment.