Skip to content

Commit

Permalink
review: renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
levje committed Nov 7, 2024
1 parent 2c2398e commit 8173510
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dwi_ml/data/dataset/streamline_containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from collections import defaultdict


def _load_space_attributes_from_hdf(hdf_group: h5py.Group):
def _load_streamlines_attributes_from_hdf(hdf_group: h5py.Group):
a = np.array(hdf_group.attrs['affine'])
d = np.array(hdf_group.attrs['dimensions'])
vs = np.array(hdf_group.attrs['voxel_sizes'])
Expand Down Expand Up @@ -374,7 +374,7 @@ def init_sft_data_from_hdf_info(cls, hdf_group: h5py.Group):
else:
connectivity_matrix = None

space_attributes, space, origin = _load_space_attributes_from_hdf(
space_attributes, space, origin = _load_streamlines_attributes_from_hdf(
hdf_group)

# Return an instance of SubjectMRIData instantiated through __init__
Expand Down Expand Up @@ -430,7 +430,7 @@ def _access_connectivity_matrix(self, indxyz: Tuple = None):

@classmethod
def init_sft_data_from_hdf_info(cls, hdf_group: h5py.Group):
space_attributes, space, origin = _load_space_attributes_from_hdf(
space_attributes, space, origin = _load_streamlines_attributes_from_hdf(
hdf_group)

contains_connectivity, connectivity_nb_blocs, connectivity_labels = \
Expand Down

0 comments on commit 8173510

Please sign in to comment.