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

Added passive degrees of freedom #40

Merged
merged 11 commits into from
Jul 16, 2023
Merged

Conversation

thomaswmorris
Copy link
Collaborator

This changes the syntax a little bit. I also refactored a lot of the botorch stuff.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link
Member

@mrakitin mrakitin 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. Let's fix/sync the line length for a more consistent style checks and update the pre-commit config with black-jupyter, and it should be good to go. Thanks!

.flake8 Show resolved Hide resolved
def image_digestion(db, uid, image_name):
products = db[uid].table(fill=True)

for index, entry in products.iterrows():
image = getattr(entry, f"{image_name}_image")
Copy link
Member

Choose a reason for hiding this comment

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

For the images, it's better to use the hdr.data(f"{image_name}_image") API.

@mrakitin mrakitin linked an issue Jul 16, 2023 that may be closed by this pull request
@mrakitin mrakitin merged commit cd426f3 into NSLS-II:main Jul 16, 2023
5 checks passed
@thomaswmorris thomaswmorris deleted the passive-dofs branch November 4, 2023 14:33
thomaswmorris pushed a commit to thomaswmorris/blop that referenced this pull request Jul 15, 2024
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.

Enable pre-commit for jupyter notebooks?
2 participants