Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pytests for output paths mcorr, cnmf, cnmfe #10

Merged
merged 2 commits into from
May 18, 2022
Merged

pytests for output paths mcorr, cnmf, cnmfe #10

merged 2 commits into from
May 18, 2022

Conversation

clewis7
Copy link
Collaborator

@clewis7 clewis7 commented May 18, 2022

pytests for checking file output paths cnmfe, mcorr, and cnmf
have not finished cnmfe

) == \
vid_dir.joinpath(
f'{df.iloc[-1]["uuid"]}-mcorr_els__d1_60_d2_80_d3_1_order_F_frames_2000_.mmap')
# assert vid_dir.joinpath(df.iloc[-1]['outputs']['mcorr-output-path']
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove these commented lines

Copy link
Collaborator

@kushalkolar kushalkolar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

append _projection to all projection output tests

assert vid_dir.joinpath(df.iloc[-1]['outputs']['mean-projection-path']) == \
get_full_data_path(df.iloc[-1]['outputs']['mean-projection-path']) == \
vid_dir.joinpath(
f'{df.iloc[-1]["uuid"]}_mean.npy')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

append projection, so _mean_projection.npy

assert vid_dir.joinpath(df.iloc[-1]['outputs']['std-projection-path']) == \
get_full_data_path(df.iloc[-1]['outputs']['std-projection-path']) == \
vid_dir.joinpath(
f'{df.iloc[-1]["uuid"]}_std.npy')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

append projection

assert vid_dir.joinpath(df.iloc[-1]['outputs']['max-projection-path']) == \
get_full_data_path(df.iloc[-1]['outputs']['max-projection-path']) == \
vid_dir.joinpath(
f'{df.iloc[-1]["uuid"]}_max.npy')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

append projection

@kushalkolar
Copy link
Collaborator

line 384 change:

d1_60_d2_80_d3_1_order_C_frames_2000_.mmap

to:

d1_128_d2_128_d3_1_order_C_frames_1000_.mmap

@kushalkolar kushalkolar merged commit 55ea6b7 into master May 18, 2022
@kushalkolar kushalkolar added this to the v0.1 milestone Jul 3, 2022
@kushalkolar kushalkolar deleted the pytests branch November 8, 2022 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants