Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bdpy/mri/fmriprep.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
# File name patterns
# FIXME
if self.__fmriprep_version == '1.2':
file_pattern = {'volume_native' : '.*_space-T1w_desc-preproc_bold\.nii\.gz$',

Check warning on line 98 in bdpy/mri/fmriprep.py

View workflow job for this annotation

GitHub Actions / test (3.10)

invalid escape sequence '\.'

Check warning on line 98 in bdpy/mri/fmriprep.py

View workflow job for this annotation

GitHub Actions / test (3.11)

invalid escape sequence '\.'
'volume_standard' : '.*_space-MNI152NLin2009cAsym_desc-preproc_bold\.nii\.gz$',
'surf_native_left' : '.*_space-fsnative_hemi-L\.func\.gii$',
'surf_native_right' : '.*_space-fsnative_hemi-R\.func\.gii$',
Expand Down Expand Up @@ -385,7 +385,7 @@

@property
def xyz(self):
if self.__dtype is 'surface':
if self.__dtype == 'surface':
raise NotImplementedError('Vertex xyz coordinates are not implemented yet.')
return self.__xyz

Expand All @@ -395,7 +395,7 @@

@property
def n_vertex(self):
if self.__dtype is not 'surface':
if self.__dtype != 'surface':
raise TypeError('Not surface data.')
return self.__n_vertex

Expand Down
Loading