Skip to content

Commit

Permalink
bugfix: forgot to actually rotate ref_images across runs
Browse files Browse the repository at this point in the history
  • Loading branch information
billbrod committed Feb 26, 2021
1 parent a77c4da commit bbcfad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ rule generate_experiment_idx:
if r > 4 or len(idx) != 5:
raise Exception("This only works for 5 runs per session!")
idx = idx[r:r+3] + idx[:max(0, r-2)]
ref_image_to_include
ref_image_to_include = ref_image_to_include[idx]
except ValueError:
# then this is the test subject
if int(wildcards.sess_num) > 0 or int(wildcards.run_num):
Expand Down

0 comments on commit bbcfad5

Please sign in to comment.