Skip to content

Commit

Permalink
Merge pull request #1092 from gagnonanthony/fixdpphdf5
Browse files Browse the repository at this point in the history
Fix the hdf5 error when dpp are present
  • Loading branch information
arnaudbore authored Dec 16, 2024
2 parents cce91c3 + f2de323 commit e810204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scilpy/io/hdf5.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def reconstruct_sft_from_hdf5(hdf5_handle, group_keys, space=Space.VOX,
for sub_key in hdf5_handle[group_key].keys():
if sub_key not in ['data', 'offsets', 'lengths']:
data = hdf5_handle[group_key][sub_key]
if data.shape == hdf5_handle[group_key]['offsets']:
if data.shape == hdf5_handle[group_key]['offsets'].shape:
# Discovered dps
if load_dps:
if i == 0 or not merge_groups:
Expand Down

0 comments on commit e810204

Please sign in to comment.