Skip to content

Commit

Permalink
Updates get_segments()
Browse files Browse the repository at this point in the history
  • Loading branch information
teresamg committed May 17, 2024
1 parent cf887bb commit 7a20de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nireports/reportlets/modality/dwi.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ def get_segments(
indices = np.array([], dtype=int)
for ii in idx:
indices = np.concatenate(
[indices, np.nonzero(segment_mask == ii)]
[indices, np.nonzero(segment_mask == ii)[0]]
)
segments[label] = indices

Expand Down

0 comments on commit 7a20de7

Please sign in to comment.