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

Propose sim amplitude/offset fix #1200

Merged
merged 6 commits into from
Oct 18, 2024
Merged

Propose sim amplitude/offset fix #1200

merged 6 commits into from
Oct 18, 2024

Conversation

garrettwrong
Copy link
Collaborator

There is more to do/check here, but I think this resolves the behavior reported in #1196 and preserves the ability to set these properties upstream.

@j-c-c , can you continue working this issue (validating and creating some tests). Also we should check for other properties that might have been missed by the same oversight in the past. (I'm thinking rotations? 😬 )

Thanks

@garrettwrong garrettwrong added bug Something isn't working cleanup labels Oct 14, 2024
@garrettwrong
Copy link
Collaborator Author

Cancelled workflow. The tests that fail are the following:

FAILED tests/test_simulation.py::SimTestCase::testSimulationCached - AssertionError: 
FAILED tests/test_simulation.py::SimTestCase::testSimulationImages - AssertionError: 
FAILED tests/test_simulation.py::SimTestCase::testSimulationImagesDownsample - AssertionError: 
FAILED tests/test_simulation.py::SimTestCase::testSimulationImagesNoisy - AssertionError: 
FAILED tests/test_anisotropic_noise.py::SimTestCase::testAnisotropicNoisePSD - AssertionError: False is not true
FAILED tests/test_anisotropic_noise.py::SimTestCase::testAnisotropicNoiseVariance - AssertionError: False is not true

Copy link

codecov bot commented Oct 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.37%. Comparing base (d221210) to head (8192ac7).
Report is 6 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1200   +/-   ##
========================================
  Coverage    87.37%   87.37%           
========================================
  Files          132      132           
  Lines        13637    13639    +2     
========================================
+ Hits         11915    11917    +2     
  Misses        1722     1722           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@j-c-c j-c-c linked an issue Oct 15, 2024 that may be closed by this pull request
@j-c-c
Copy link
Collaborator

j-c-c commented Oct 15, 2024

@garrettwrong I don't think I can officially tag you to review this since you are an author, but this is ready if you want to take a look at the changes I added.

Copy link
Collaborator Author

@garrettwrong garrettwrong left a comment

Choose a reason for hiding this comment

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

As co-author, can't approve but looks good, thanks!

@j-c-c j-c-c marked this pull request as ready for review October 17, 2024 15:01
@j-c-c j-c-c requested a review from janden as a code owner October 17, 2024 15:01
Copy link
Collaborator

@janden janden left a comment

Choose a reason for hiding this comment

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

LGTM!

@j-c-c j-c-c merged commit c8a51b8 into develop Oct 18, 2024
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ImageSource.downsample moves particles
3 participants