Skip to content

Commit 44953ab

Browse files
committed
fix string logic
1 parent 8cbd5c3 commit 44953ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dwiqc/tasks/qsiprep_EQ.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def build(self):
111111

112112
def match_bval(self, dir_path):
113113
for file in os.listdir(dir_path):
114-
if file.endswith('.bval') and self._run in file:
114+
if file.endswith('.bval') and str(self._run) in file:
115115
return file
116116

117117

0 commit comments

Comments
 (0)