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

Fix event plot curve creation #1059

Merged
merged 6 commits into from
Feb 7, 2024
Merged

Conversation

jbellister-slac
Copy link
Collaborator

@jbellister-slac jbellister-slac commented Feb 3, 2024

Just adds the second '*' to the keyword arguments so they are handled properly. Added simple test case to cover this, as well as an example event plot that can be run.

Also includes a couple minor test updates to make the test suite compatible with pytest 8.0 and pytest-qt 4.3+

To reproduce can run the new test or example without the change to eventplot.py and see it fail

@jbellister-slac
Copy link
Collaborator Author

Test failures look to be due to this change: pytest-dev/pytest-qt#515

Just need to update our conftest file to not pass the program name through

…lication when running tests otherwise it will misinterpret it as a ui file name which it will then fail to load
…cated and now removed warns() usage in pytest 8.0
Copy link
Collaborator

@YektaY YektaY left a comment

Choose a reason for hiding this comment

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

This all looks good to me

@YektaY YektaY merged commit aabe637 into slaclab:master Feb 7, 2024
19 checks passed
@jbellister-slac jbellister-slac deleted the fix_eventplot branch February 8, 2024 01:16
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