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

add flag for other img formats #6

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

add flag for other img formats #6

wants to merge 2 commits into from

Conversation

DHekstra
Copy link

I added an argument when creating an experiment to allow for image formats other than the standard Rayonix format, e.g. the old MarCCD format.

@DHekstra DHekstra requested a review from hkwang September 20, 2023 20:55
Copy link
Member

@JBGreisman JBGreisman left a comment

Choose a reason for hiding this comment

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

I don't generally feel like I need to approve these sorts of things anymore (I also have no means to test any changes).

That said... this looks good to me. My only suggestion would be to add these changes to all available commands (refine, calibrate, softlimits), not just index.

@DHekstra
Copy link
Author

Per jack's comment, I extended the use of format flags to the refine, calibrate, and soft_limits methods of the Experiment class. I ran a test on a Rayonix dataset and found that this worked without problems as before.

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