Skip to content

Commit

Permalink
Fix output name collision
Browse files Browse the repository at this point in the history
  • Loading branch information
jennydaman committed Apr 4, 2022
1 parent 02e2e3e commit bed9c5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mri_preview.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def multi_mapper(inputdir: Path, outputdir: Path, file_extensions: str) -> Itera


def _gz_aware_placeholder_mapper(input_file: Path, output_dir: Path) -> Path:
filename = str(input_file.name)
filename = str(input_file)
if filename.endswith('.gz'):
filename = filename[:-3] + '_gz'
if '.' not in filename:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='mri-preview',
version='1.2.0',
version='1.2.1',
description='A ChRIS plugin to preview the center slices of MRI',
author='Jennings Zhang',
author_email='Jennings.Zhang@childrens.harvard.edu',
Expand Down

0 comments on commit bed9c5a

Please sign in to comment.