We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 37898d9 + a210d75 commit 2003da3Copy full SHA for 2003da3
1 file changed
commit/core.pyx
@@ -118,8 +118,13 @@ cdef class Evaluation :
118
self.set_config('version', get_distribution('dmri-commit').version)
119
self.set_config('study_path', study_path)
120
self.set_config('subject', subject)
121
- self.set_config('DATA_path', pjoin( study_path, subject ))
122
- self.set_config('TRACKING_path', pjoin( study_path, subject, dictionary_path ))
+
+ if study_path == subject:
123
+ self.set_config('DATA_path', study_path)
124
+ self.set_config('TRACKING_path', pjoin( study_path, dictionary_path ))
125
+ else:
126
+ self.set_config('DATA_path', pjoin( study_path, subject ))
127
+ self.set_config('TRACKING_path', pjoin( study_path, subject, dictionary_path ))
128
129
self.set_config('doNormalizeSignal', True)
130
self.set_config('doMergeB0', False)
0 commit comments