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_parameters_experimental w/ sync run_udf_iter #135

Merged
merged 3 commits into from
Apr 11, 2024

Conversation

sk1p
Copy link
Member

@sk1p sk1p commented Oct 10, 2023

Mostly right now useful for the test case - I'm not really happy about the implementation.

Contributor Checklist:

  • I have added or updated my entry in the creators.json file
  • I have added a changelog entry for my contribution
  • I have added/updated documentation for all user-facing changes
  • I have added/updated test cases

Reviewer Checklist:

  • /azp run libertem.libertem-live-data passed

@codecov
Copy link

codecov bot commented Oct 10, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.28%. Comparing base (c2e5296) to head (1f2b93e).

❗ Current head 1f2b93e differs from pull request most recent head 8d93449. Consider uploading reports for the commit 8d93449 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #135      +/-   ##
==========================================
- Coverage   79.80%   71.28%   -8.52%     
==========================================
  Files          35       35              
  Lines        3442     3462      +20     
  Branches      581      581              
==========================================
- Hits         2747     2468     -279     
- Misses        559      840     +281     
- Partials      136      154      +18     

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

@uellue uellue added this to the 0.4 milestone Feb 22, 2024
@uellue
Copy link
Member

uellue commented Feb 22, 2024

Bump to 0.3 since important for overfocus project.

@uellue uellue modified the milestones: 0.4, 0.3 Feb 22, 2024
Instead of a context manager, use explicit methods
`start_acquisition` and `end_acquisition`, otherwise we would have to
manually call the context manager methods (`__enter__`/`__exit__`)
@sk1p sk1p marked this pull request as ready for review April 11, 2024 15:15
@sk1p
Copy link
Member Author

sk1p commented Apr 11, 2024

/azp run libertem.libertem-live-data

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sk1p sk1p changed the title WIP: update_parameters_experimental w/ sync run_udf_iter update_parameters_experimental w/ sync run_udf_iter Apr 11, 2024
Copy link
Member

@uellue uellue left a comment

Choose a reason for hiding this comment

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

Works like a charm! Tested successfully with the Microscope-Calibration notebook and the Merlin simulator.

@uellue uellue merged commit 6102496 into LiberTEM:master Apr 11, 2024
31 checks passed
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