-
Notifications
You must be signed in to change notification settings - Fork 15
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
Conversation
tests/test_core.py
Outdated
) == \ | ||
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'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove these commented lines
There was a problem hiding this 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
tests/test_core.py
Outdated
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') |
There was a problem hiding this comment.
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
tests/test_core.py
Outdated
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') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
append projection
tests/test_core.py
Outdated
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') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
append projection
line 384 change:
to:
|
pytests for checking file output paths cnmfe, mcorr, and cnmf
have not finished cnmfe