Skip to content

Commit

Permalink
pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamlittlephd committed Feb 7, 2024
1 parent 0c19111 commit 3a59f6a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
9 changes: 5 additions & 4 deletions scilpy/tractograms/streamline_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,18 +503,19 @@ def perform_pairwise_streamline_operation_on_endpoints(op_name, sft,


def stream_mean(array):
return np.squeeze(np.mean(array,axis=0))
return np.squeeze(np.mean(array, axis=0))


def stream_sum(array):
return np.squeeze(np.sum(array,axis=0))
return np.squeeze(np.sum(array, axis=0))


def stream_min(array):
return np.squeeze(np.min(array,axis=0))
return np.squeeze(np.min(array, axis=0))


def stream_max(array):
return np.squeeze(np.max(array,axis=0))
return np.squeeze(np.max(array, axis=0))


def stream_correlation(array1, array2):
Expand Down
3 changes: 1 addition & 2 deletions scripts/scil_tractogram_dpp_math.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,7 @@ def main():
# Perform the requested operation.
if args.operation == 'correlation':
logging.info('Performing {} across endpoint data and saving as '
'new dpp {}'.format(
args.operation, out_name))
'new dpp {}'.format(args.operation, out_name))
new_dps = perform_pairwise_streamline_operation_on_endpoints(
args.operation, sft, in_dpp_name)

Expand Down

0 comments on commit 3a59f6a

Please sign in to comment.