Skip to content

Commit

Permalink
moved timepoints
Browse files Browse the repository at this point in the history
  • Loading branch information
fliem committed Jan 30, 2017
1 parent b58c920 commit 5209ab4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,10 @@ def run(command, env={}, ignore_errors=False):
ignore_errors=True)

for subject_label in subjects_to_analyze:
timepoints = []

session_dirs = glob(os.path.join(args.bids_dir,"sub-%s"%subject_label,"ses-*"))
sessions = [os.path.split(dr)[-1].split("-")[-1] for dr in session_dirs]

timepoints = []
if len(sessions) > 0 and longitudinal_study == True:
# Running each session separately, prior to doing longitudinal pipeline
for session_label in sessions:
Expand Down

0 comments on commit 5209ab4

Please sign in to comment.