Skip to content

Commit f34b424

Browse files
authored
Merge pull request #19 from BIDS-Apps/dev-global
cleanup - remove global vars added by ide
2 parents 42b403d + ddfef91 commit f34b424

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tracula.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ def calculate_tmi(df):
228228

229229

230230
def participant_level(args, layout, subjects_to_analyze, sessions_to_analyze):
231-
global subject_label, sessions, session_label
232231
for subject_label in subjects_to_analyze:
233232
subject_session_info = OrderedDict()
234233
valid_sessions = []
@@ -274,7 +273,6 @@ def participant_level(args, layout, subjects_to_analyze, sessions_to_analyze):
274273

275274

276275
def group_level_motion_stats(args, subjects_to_analyze):
277-
global df, subject_label, sessions, session_label
278276
# collect motion stats
279277
motion_output_dir = os.path.join(args.output_dir, "00_group1_motion_stats")
280278
if not os.path.exists(motion_output_dir):
@@ -297,7 +295,6 @@ def group_level_motion_stats(args, subjects_to_analyze):
297295

298296

299297
def group_level_tract_overall_stats(args, subjects_to_analyze):
300-
global subject_label, sessions, session_label, df
301298
# run overall stats
302299
group_output_dir = os.path.join(args.output_dir, "00_group2_tract_stats")
303300
tract_file_list_dir = os.path.join(group_output_dir, "00_file_lists")

0 commit comments

Comments
 (0)