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

Update test_SST1DBLoader.py by testing scan ID 87758 #155

Merged
merged 6 commits into from
Dec 3, 2024

Conversation

PriyankaKetkarBNL
Copy link
Collaborator

Added a set of tests for scan ID 87758 to check that the loadRun function continues to work for a more recent scan and that it works for a case in which a single energy and two polarizations are run.

See issue 154 for more details.

Added a set of tests for scan ID 87758 to check that the loadRun function continues to work for a more recent scan and that it works for a case in which a single energy and two polarizations are run.
@pbeaucage
Copy link
Collaborator

pbeaucage commented Sep 7, 2024

@PriyankaKetkarBNL if you look in the CI logs (below) you'll see that the new test is failing. This might be as simple as a problem with two tests having the same name - can you try changing that and see if it passes?

Changed the names of the tests for scan ID 87758 so that they are different than the names of the tests for scan ID 21792
@PriyankaKetkarBNL
Copy link
Collaborator Author

I just updated the test names. It seems like some of the checks are succeeding now, but still others are failing. I don't immediately follow where the issue is.

@pbeaucage
Copy link
Collaborator

The tests weren't running due to an old version merged in #132. The ones marked as succeeded were documentation and security analysis; the tests are in "PyHyperScattering CI Testing". I updated with main and tests should run again now.

Copy link
Collaborator

@pbeaucage pbeaucage left a comment

Choose a reason for hiding this comment

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

LGTM, tests pass, OK to merge if name changes are ok.

tests/test_SST1DBLoader.py Outdated Show resolved Hide resolved
tests/test_SST1DBLoader.py Outdated Show resolved Hide resolved
@pbeaucage pbeaucage merged commit 5059025 into main Dec 3, 2024
15 checks passed
@pbeaucage pbeaucage deleted the Issue154_Updatetest_SST1DBLoader branch December 3, 2024 20:56
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.

Feature: Update test_SST1DBLoader.py to test variety of scans over time
2 participants