v2.4.0 release - #19
Merged
Merged
Conversation
- Modified frames.py to add a utility function to print a table containing per file angle estimation information.
- Modified cli.py to add `--print-angles` option for frames command.
- Modified tests/unit/test_frames.py to add a unit test for frames which checks consensus angle doesn't change by printing.
Merge pull request #17 from holsam/print-angles-frames
- Modified frames.py to use a per-series curtaining angle calculation, so series using different pre-tilts don't influence the others destriping angle. - Modified frames.py to use anchor tilts (around median tilt ≈ pre-tilt) to set the destriping angle with subsequent angles compared to this for agreement. - Modified frames.py to update printing angle function to save to csv and only print per-series per-tilt tables.
- Modified cli.py to add `--anchor-tilts` option for `pylisc frames` command.
- Modified frames.py to use nearest accepted tilt angle consensus as fallback value for rejected tilts.
- Modified tests/integration/test_cli.py to increase number of synthetic frames used in pylisc frames test so warning is output. - Modified tests/unit/test_frames.py to update unit tests to reflect recent changes in angle consensus calculation.
Merge pull request #18 from holsam/seeded-consensus
- Modified tests/conftest.py to add existing fixture functions as actual pytest fixtures. - Deleted tests/fixtures.py as now redundant.
- Modified io.py to wrap readMrcFile in a try/except block to catch any invalid MRC files and log a warning for these, returning (None, None) if raised.
- Modified frames.py and stack.py to skip any MRC files which cannot be read when running the curtaining angle pre-pass.
- Modified test files to use pytest fixtures directly instead of importing.
- Modified test_cli.py to add unit tests for `--version` option, deprecation warnings, and frames option validation.
- Modified test_destripe.py to add unit test for dc_protect_frac low-frequency preservation.
- Modified test_frames.py to add unit tests for _process_one, _split_by_tilt_gap, and run_frames edge cases.
- Modified test_io.py to add unit test for nameOutputFile function.
- Modified test_templates.py to refactor tests into class, and add unit tests for invalid field name and unparseable tilt edge cases.
- Added test_blur.py to define unit tests for FFT gaussian blur and highpass bandpass filtering. - Added test_lisc.py to define unit tests for lisc_clear_frame pixel size, filter, and linear dispatch. - Added test_preview.py to define unit tests for generate_strength_preview angular and linear modes. - Added test_stack.py to define unit tests for _process_series and batch error handling.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog
--print-anglestopylisc frameswhich outputs the consensus angles used per tilt series.--anchor-tiltstopylisc frameswhich sets the number of tilts used as the anchoring seed for angle consensus checks.README.md.