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

Planwindows #218

Merged
merged 50 commits into from
Jun 7, 2024
Merged

Planwindows #218

merged 50 commits into from
Jun 7, 2024

Conversation

Cathyhjj
Copy link
Collaborator

Add grid_scan and included enhanced utilities #207 #210

@Cathyhjj Cathyhjj requested a review from canismarko May 28, 2024 16:21
src/firefly/plans/line_scan.py Outdated Show resolved Hide resolved
src/firefly/plans/line_scan.py Outdated Show resolved Hide resolved
src/firefly/plans/line_scan.py Show resolved Hide resolved
src/firefly/plans/xafs_scan.py Outdated Show resolved Hide resolved
src/firefly/plans/xafs_scan.py Outdated Show resolved Hide resolved
src/firefly/plans/xafs_scan.py Outdated Show resolved Hide resolved
src/firefly/tests/test_grid_scan_window.py Outdated Show resolved Hide resolved
src/firefly/tests/test_line_scan_window.py Outdated Show resolved Hide resolved
src/firefly/plans/grid_scan.py Show resolved Hide resolved
)

# get snake axes, if all unchecked, set it None
snake_axes = [
Copy link
Contributor

Choose a reason for hiding this comment

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

Have you checked that this actually works? According to the documentation:

The elements of the list are motors that are listed in args.

I read that to mean that the arguments should be the motors themselves, not their indices.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

to be discussed

Copy link
Contributor

@canismarko canismarko left a comment

Choose a reason for hiding this comment

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

Almost there. The only things I noticed are where the is_valid_value() function doesn't do what it says on the tin.

src/firefly/plans/xafs_scan.py Outdated Show resolved Hide resolved
src/firefly/plans/util.py Show resolved Hide resolved
src/firefly/plans/util.py Outdated Show resolved Hide resolved
src/firefly/plans/util.py Outdated Show resolved Hide resolved
Copy link
Contributor

@canismarko canismarko 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 to me. Once the CI passes, we can merge.

@canismarko canismarko merged commit 7d27304 into main Jun 7, 2024
1 check failed
@canismarko canismarko deleted the planwindows branch June 7, 2024 22:10
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