Skip to content

Commit 8228527

Browse files
committed
Fixed dict field error in translate.py.
1 parent 9245605 commit 8228527

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# BIDSKIT
22

3-
### Version 2022.7.7
3+
### Version 2022.7.8
44
Python utilities for converting from DICOM to BIDS neuroimaging formats.
55

66
The *bidskit* console command takes a directory tree containing imaging series from one or more subjects (eg T1w MPRAGE, BOLD EPI, Fieldmaps), converts the imaging data to Nifti-1 format with JSON metadata files (sidecars) and populates a directory tree according to the latest BIDS specification.

bidskit/translate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ def auto_translate(info, json_fname):
500500
bids_keys, _ = parse_bids_keyvals(ser_desc)
501501

502502
# Give precedence to ReproIn seqtype key
503-
if bids_keys['seqtype']:
503+
if 'seqtype' in bids_keys.keys():
504504

505505
bids_dir = bids_keys['seqtype']
506506
print(f"ReproIn: detected sequence type {bids_dir}")

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
# For a discussion on single-sourcing the version across setup.py and the
4646
# project code, see
4747
# https://packaging.python.org/en/latest/single_source_version.html
48-
version='2022.7.7', # Required
48+
version='2022.7.8', # Required
4949

5050
# This is a one-line description or tagline of what your project does. This
5151
# corresponds to the "Summary" metadata field:

0 commit comments

Comments
 (0)