Skip to content

Commit

Permalink
Connectivity labels volume as group's dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmaRenauld committed Feb 22, 2024
1 parent 2cb9562 commit 5baadca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dwi_ml/data/hdf5/hdf5_creation.py
Original file line number Diff line number Diff line change
Expand Up @@ -593,8 +593,8 @@ def _create_streamline_groups(self, ref, subj_input_dir, subj_id,
streamlines_group.create_dataset(
'connectivity_matrix', data=connectivity_matrix)
if conn_info[0] == 'from_label':
streamlines_group.attrs['connectivity_label_volume'] = \
conn_info[1]
streamlines_group.create_dataset(
'connectivity_label_volume', data=conn_info[1])
else:
streamlines_group.attrs['connectivity_nb_blocs'] = \
conn_info[1]
Expand Down

0 comments on commit 5baadca

Please sign in to comment.