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

Check voltage #148

Merged
merged 9 commits into from
Jul 18, 2022
Merged

Check voltage #148

merged 9 commits into from
Jul 18, 2022

Conversation

camisowers
Copy link
Contributor

If you haven't already, please read through our contributing guidelines before opening your PR

What is the purpose of this PR?

Closes #127.

How did you implement your changes

Retrieve the detector voltage from each FOV json in the run and check whether it stays constant or changes. If not the same throughout, identify the FOV names and voltage values at each point of change in the run and print them in an error statement.

Remaining issues

If there are specific areas of your implementation that you feel need specific feedback, or if there are things you aren't sure about, please highlight them here

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@camisowers camisowers self-assigned this Jul 14, 2022
@camisowers camisowers requested a review from ngreenwald July 15, 2022 18:13
Copy link
Member

@ngreenwald ngreenwald left a comment

Choose a reason for hiding this comment

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

Looks good, just some more guidance to the user about what is being printed out would be helpful

toffy/normalize.py Outdated Show resolved Hide resolved
@camisowers camisowers requested a review from ngreenwald July 18, 2022 19:15
Copy link
Member

@ngreenwald ngreenwald left a comment

Choose a reason for hiding this comment

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

Looks good. Have you tested this on some actual json files to make sure the logic for finding the right dictionary entry works?

@camisowers
Copy link
Contributor Author

yep, works on the jsons in data/tissue and I just double checked it on a run from 6-13

@ngreenwald ngreenwald merged commit 8f07bdd into main Jul 18, 2022
@ngreenwald ngreenwald deleted the check_voltage branch July 18, 2022 22:56
@camisowers camisowers added the enhancement New feature or request label Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Check for changes in detector voltage within run
2 participants