Skip to content

Commit 88e381e

Browse files
committed
fix projection save paths once again
1 parent a03fc94 commit 88e381e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

mesmerize_core/algorithms/cnmf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def main(batch_path, uuid, data_path: str = None):
6161
proj_paths = dict()
6262
for proj_type in ['mean', 'std', 'max']:
6363
p_img = getattr(np, f'nan{proj_type}')(images, axis=0)
64-
proj_paths[proj_type] = Path(input_movie_path).parent.joinpath(f'{uuid}_{proj_type}.npy')
64+
proj_paths[proj_type] = Path(input_movie_path).parent.joinpath(f'{uuid}_{proj_type}_projection.npy')
6565
np.save(str(proj_paths[proj_type]), p_img)
6666

6767
# in fname new load in memmap order C

mesmerize_core/algorithms/cnmfe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def main(batch_path, uuid, data_path: str = None):
5252
proj_paths = dict()
5353
for proj_type in ['mean', 'std', 'max']:
5454
p_img = getattr(np, f'nan{proj_type}')(images, axis=0)
55-
proj_paths[proj_type] = Path(input_movie_path).parent.joinpath(f'{uuid}_{proj_type}.npy')
55+
proj_paths[proj_type] = Path(input_movie_path).parent.joinpath(f'{uuid}_{proj_type}_projection.npy')
5656
np.save(str(proj_paths[proj_type]), p_img)
5757

5858
downsample_ratio = params['downsample_ratio']

mesmerize_core/algorithms/mcorr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def main(batch_path, uuid, data_path: str = None):
7171
proj_paths = dict()
7272
for proj_type in ['mean', 'std', 'max']:
7373
p_img = getattr(np, f'nan{proj_type}')(images, axis=0)
74-
proj_paths[proj_type] = Path(input_movie_path).parent.joinpath(f'{uuid}_{proj_type}.npy')
74+
proj_paths[proj_type] = Path(input_movie_path).parent.joinpath(f'{uuid}_{proj_type}_projection.npy')
7575
np.save(str(proj_paths[proj_type]), p_img)
7676

7777
print("Computing correlation image")

0 commit comments

Comments
 (0)