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

Enh/neuropixels improvements #47

Merged

Conversation

mochic
Copy link
Contributor

@mochic mochic commented Apr 25, 2024

Changes the open ephys etl to not update modification date and rig_id if the model doesnt change.

@jtyoung84 jtyoung84 self-requested a review May 2, 2024 23:39
@mekhlakapoor mekhlakapoor self-requested a review May 9, 2024 18:04
)


class TestOpenEphysRigEtlModificationDateUpdate(unittest.TestCase):
Copy link
Contributor

Choose a reason for hiding this comment

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

rather than making a new module and class, you can put these unit tests in the test_open_ephys_rig module

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Addressed here:
d3a041f

Copy link
Contributor

@mekhlakapoor mekhlakapoor left a comment

Choose a reason for hiding this comment

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

Everything looks good, just move the unit tests into the TestOpenEphysRigEtl class in test_open_ephys_rig.py. We're trying to have 1:1 correspondence between test modules and code modules.

@mekhlakapoor mekhlakapoor self-requested a review May 9, 2024 21:18
Copy link
Contributor

@mekhlakapoor mekhlakapoor left a comment

Choose a reason for hiding this comment

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

We can re-organize the tests in a future PR

@mochic mochic requested a review from mekhlakapoor May 10, 2024 00:10
@mochic
Copy link
Contributor Author

mochic commented May 10, 2024

I made the changes that @mekhlakapoor and @dyf requested.

@mekhlakapoor mekhlakapoor merged commit fc0377f into AllenNeuralDynamics:main May 10, 2024
2 checks passed
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.

3 participants