Skip to content

Commit

Permalink
updated dimension on data_shape
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamlittlephd committed Feb 19, 2024
1 parent 8db77a9 commit 47f287b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/scil_tractogram_dpp_math.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def main():
'will not do anything. Continuing.')

# Check if first data_per_point is multivalued
if args.operation == 'correlation' and data_shape[0] > 1:
if args.operation == 'correlation' and data_shape[0] == 1:
logging.info('Correlation operation requires multivalued data per '
'point. Exiting.')
return
Expand Down

0 comments on commit 47f287b

Please sign in to comment.