Skip to content

Commit

Permalink
Oups, label volume name
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmaRenauld committed Feb 26, 2024
1 parent 6dd4a80 commit 603f431
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dwi_ml/data/dataset/streamline_containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ def _load_connectivity_info(hdf_group: h5py.Group):
contains_connectivity = True
if 'connectivity_nb_blocs' in hdf_group.attrs:
connectivity_nb_blocs = hdf_group.attrs['connectivity_nb_blocs']
elif 'connectivity_labels' in hdf_group:
elif 'connectivity_label_volume' in hdf_group:
connectivity_labels = np.asarray(
hdf_group['connectivity_labels'], dtype=int)
hdf_group['connectivity_label_volume'], dtype=int)
else:
raise ValueError(
"Information stored in the hdf5 is that it contains a "
Expand Down

0 comments on commit 603f431

Please sign in to comment.