forked from nipy/heudiconv
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RF: Gather/use list of all dicom files to avoid calling wrapper_from_…
…file at module level I think it is safer to avoid 3rd party library calls at the module import time since if they are buggy it would be too loud of kaboom. Also it adds CPU time at import time even if not used later on. So replaced with defining a list of all DICOMs and then just using that function directly from filename. This also would run it against more DICOMs as this time we would glob recursively.
- Loading branch information
1 parent
9afeae9
commit 2862c9a
Showing
2 changed files
with
15 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters