-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove common prefixes from filenames (#45)
I removed common prefixes from filenames. This allows to verify filenames like "1.2.86.1.dcm", ..., "1.2.86.12.dcm". I also removed `vdcms = [d.rsplit('.', 1)[0] for d in filenames]` since this is redundant in combination with the line after it: `vdcms = [int(''.join(c for c in str(fn) if c.isdigit())) for fn in filenames]` Finally, `True` is returned if filenames could not be verified for a particular series: only one slice or no number in the filename. This makes the default of checking for numbers more user friendly.
- Loading branch information
1 parent
5f67119
commit 4108621
Showing
2 changed files
with
24 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
long_description = fh.read() | ||
|
||
setuptools.setup( | ||
version='2.1.4', | ||
version='2.1.5', | ||
author_email='[email protected]', | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
|
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