Skip to content

Commit

Permalink
Fixing the iterations over beds data. (#32)
Browse files Browse the repository at this point in the history
Fixing bed concatenation.
  • Loading branch information
YerePhy authored Apr 17, 2024
1 parent 5ca9a77 commit 71ce56b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/wb_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def join_beds_wb(recons_beds, joint_beds):

bed_0_data = bed_0_data[:, :, :-slices_to_remove]

for i in range(1, len(recons_beds)):
for i in range(1, len(recons_beds) - 1):
print(f"Bed: {i}")

bed = nib.load(recons_beds[i])
Expand Down

0 comments on commit 71ce56b

Please sign in to comment.