Skip to content

Commit a42196f

Browse files
committed
Merge branch 'main' of github.com:openneuropet/PET2BIDS into add-ezbids-flag
2 parents a8e0ccc + 6d17a83 commit a42196f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

contributors.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Granville Matheson 📝 🐛 ✅
1212
Martin Norgaard 💻 💬 🤔 ⚠️ 👀
1313
Cyril Pernet 💻 📖 💬 🎨 💡 📋 🤔 ⚠️
1414
Chris Rorden 💻 🐛 📖
15+
Maximilian Cosmo Sitter 💻
1516
Claus Svarer 💻 💡⚠️
1617
Adam G Thomas 🔍 🤔
1718
Robert Innis 💡⚠️💵

pypet2bids/pypet2bids/ecat.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def make_nifti(self, output_path=None):
244244
self.telemetry_data["NiftiFiles"] = 1
245245
self.telemetry_data["NiftiFilesSize"] = pathlib.Path(output).stat().st_size
246246

247-
if "nii.gz" not in output:
247+
if "nii.gz" not in pathlib.Path(output).name:
248248
output = helper_functions.compress(output)
249249

250250
return output

0 commit comments

Comments
 (0)