Skip to content

Commit 705bea5

Browse files
authored
Merge pull request #93 from jmtyszka/Development
Development
2 parents 300641b + 8430d60 commit 705bea5

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
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.2.1
3+
### Version 2022.2.10
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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -608,15 +608,15 @@ def handle_fmap_case(work_json_fname, bids_nii_fname, bids_json_fname):
608608
te1 = e1m_info['EchoTime']
609609
te2 = e2p_info['EchoTime']
610610

611-
print(' GRE TE1 : {} ms'.format(te1))
612-
print(' GRE TE2 : {} ms'.format(te2))
613-
print(' GRE dTE : {} ms'.format(te2 - te1))
611+
print(f' GRE TE1 : {te1:0.5f} ms')
612+
print(f' GRE TE2 : {te2:0.5f} ms')
613+
print(f' GRE dTE : {(te2-te1):0.5f} ms')
614614

615615
e2p_info['EchoTime1'] = te1
616616
e2p_info['EchoTime2'] = te2
617617

618618
# Re-write echo 2 phase JSON sidecar
619-
print('Updating Echo 2 Phase JSON sidecar')
619+
print(' Updating Echo 2 Phase JSON sidecar')
620620
write_json(e2p_fname, e2p_info, overwrite=True)
621621

622622
else:

setup.py

Lines changed: 6 additions & 6 deletions
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.2.1', # Required
48+
version='2022.2.10', # Required
4949

5050
# This is a one-line description or tagline of what your project does. This
5151
# corresponds to the "Summary" metadata field:
@@ -109,8 +109,8 @@
109109
# that you indicate whether you support Python 2, Python 3 or both.
110110
# These classifiers are *not* checked by 'pip install'. See instead
111111
# 'python_requires' below.
112-
'Programming Language :: Python :: 3.6',
113-
'Programming Language :: Python :: 3.7',
112+
'Programming Language :: Python :: 3.8',
113+
'Programming Language :: Python :: 3.9',
114114
],
115115

116116
# This field adds keywords for your project which will appear on the
@@ -135,17 +135,17 @@
135135
# and refuse to install the project if the version does not match. If you
136136
# do not support Python 2, you can simplify this to '>=3.5' or similar, see
137137
# https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires
138-
python_requires='>=3.6, <4',
138+
python_requires='>=3.8, <4',
139139

140140
# This field lists other packages that your project depends on to run.
141141
# Any package you put here will be installed by pip when your project is
142142
# installed, so they must be valid existing projects.
143143
#
144144
# For an analysis of "install_requires" vs pip's requirements files see:
145145
# https://packaging.python.org/en/latest/requirements.html
146-
install_requires=['pydicom>=1.2.2',
146+
install_requires=['pydicom>=2.2',
147147
'pybids>=0.13',
148-
'numpy'],
148+
'numpy>=1.21'],
149149

150150
# List additional groups of dependencies here (e.g. development
151151
# dependencies). Users will be able to install these using the "extras"

0 commit comments

Comments
 (0)