Skip to content

Fix for misc.save_script_parameters (Issue #136)#140

Open
rohangirishrao wants to merge 6 commits intoimcf:develfrom
rohangirishrao:save-script-params
Open

Fix for misc.save_script_parameters (Issue #136)#140
rohangirishrao wants to merge 6 commits intoimcf:develfrom
rohangirishrao:save-script-params

Conversation

@rohangirishrao
Copy link
Copy Markdown
Contributor

The function now accepts globals() as a parameter - this is a workaround as calling globals() from the method did not work, see #136.

ehrenfeu and others added 3 commits January 23, 2026 12:44
Attempt to fix the problem in a new branch, see imcf#136 for details.
This is necessary as calling globals from inside the method lead to no variables from the call time.
@rohangirishrao rohangirishrao changed the title Fix for m (Issue #136) Fix for misc.save_script_parameters (Issue #136) Mar 25, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 25, 2026

Codecov Report

❌ Patch coverage is 4.54545% with 21 lines in your changes missing coverage. Please review.
✅ Project coverage is 25%. Comparing base (379487b) to head (535842a).

Files with missing lines Patch % Lines
src/imcflibs/imagej/misc.py 5% 21 Missing ⚠️
Additional details and impacted files
@@         Coverage Diff          @@
##           devel   #140   +/-   ##
====================================
- Coverage     25%    25%   -0%     
====================================
  Files         25     25           
  Lines       1761   1783   +22     
====================================
+ Hits         443    444    +1     
- Misses      1318   1339   +21     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ehrenfeu ehrenfeu self-requested a review March 25, 2026 21:27
@ehrenfeu ehrenfeu added the enhancement New feature or request label Mar 25, 2026
@ehrenfeu ehrenfeu added this to the 2.0.0 milestone Mar 25, 2026
@ehrenfeu ehrenfeu linked an issue Mar 25, 2026 that may be closed by this pull request
@ehrenfeu ehrenfeu moved this to In review in imcflibs Mar 25, 2026
@rohangirishrao
Copy link
Copy Markdown
Contributor Author

Is there anything to be done for the codecov failing? There is no way to really test this part

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

Issue accessing globals() from library

2 participants