Skip to content

Commit 317381c

Browse files
committed
RF - correct name of timeseries option and add misspelled alias
1 parent 66ce96a commit 317381c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

nibabel/nifti1.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,10 @@
223223
(1009, 'triangle', (), "NIFTI_INTENT_TRIANGLE"),
224224
(1010, 'quaternion', (), "NIFTI_INTENT_QUATERNION"),
225225
(1011, 'dimensionless', (), "NIFTI_INTENT_DIMLESS"),
226-
(2001, 'time series', (), "NIFTI_INTENT_TIMESERIES"),
226+
(2001, 'time series',
227+
(),
228+
"NIFTI_INTENT_TIME_SERIES",
229+
"NIFTI_INTENT_TIMESERIES"), # this mis-spell occurs in the wild
227230
(2002, 'node index', (), "NIFTI_INTENT_NODE_INDEX"),
228231
(2003, 'rgb vector', (), "NIFTI_INTENT_RGB_VECTOR"),
229232
(2004, 'rgba vector', (), "NIFTI_INTENT_RGBA_VECTOR"),

0 commit comments

Comments
 (0)