Skip to content

STAMP v0.10.0 release - #56

Merged
holsam merged 27 commits into
mainfrom
stamp-v0.10.0
Sep 24, 2026
Merged

holsam merged 27 commits into
mainfrom
stamp-v0.10.0

Conversation

@holsam

@holsam holsam commented Sep 24, 2026 •

Copy link
Copy Markdown
Owner

Changelog

  • Improves file caching for commands to reduce memory usage: Improve output caching #54
  • Adds adaptive targeting to decoy: Add adaptive decoy targeting #55
  • Fixes the FSC threshold being configurable in some functions, by adding new --threshold option to refine and passing this through to all refinement functions.
  • Fixes various bugs including missing imports, nonexistent flags, unregistered command, and additional bugs.

- Modified utils/io.py to add utility functions for saving a tomogram's picks to a cache directory, and reading a cache directory back into memory.
- Modified decoy/generate.py to update generation functions to cache each tomogram's picks to a JSON file, then read these back.
- Modified commands/decoy.py to pass output directory through to decoy generation command, and add keep raw logic.
- Modified cli/decoy.py to add --keep-raw option for disabling raw pick archiving.
- Modified commands/pick.py to use shared pick caching utility.
- Modified adapters/native.py to use shared pick caching utility.
- Modified classify/extract.py to cache each tomogram's subvolume stack to a cache directory.
- Modified commands/classify.py to pass cache directory through to extraction functions, and add cache directory archiving logic.
- Modified schemas/config.py to add keep_raw field to ClassifyStage configuration table.
- Modified cli/classify to add a --keep-raw option for disabling archiving of raw subvolumes.
- Modified schemas/config.py to add keep raw option to DecoySettings configuration table.
- Modified commands/decoy.py to use above config key when constructing decoy command.
Merge pull request #54 from holsam/output-flushing
- Modified schemas/config.py to allow n_decoys_per_tomogram to be None as well as integer.
- Modified cli/decoy.py to allow --n_decoys_per_tomogram to be None as well as integer, and to default to None.
- Modified decoy/generate.py to add function for calculating the number of target decoys to generate for rejected surface method, and to raise error for synthetic noise error if omitted.
- Modified commands/decoy.py to wrap synthetic noise generation in try...except to catch any validation errors.
- Modified tests/unit/test_decoy.py to add unit tests for adaptive targeting, and to split tests into two classes.
Merge pull request #55 from holsam/adaptive-decoy
- Modified schemas/config.py to add threshold to RefineStage configuration table.
- Modified cli/refine.py to add --threshold option and pass it through to run_refine.
- Modified commands/refine.py to pass threshold through to refinement functions.
- Modified refine/fsc.py to use threshold instead of a hard-coded 0.143 when drawing the FSC threshold line.
@holsam holsam self-assigned this Sep 24, 2026
@holsam holsam added bug Something isn't working enhancement New feature or request labels Sep 24, 2026
- Modified commands/decoy.py to fix incorrect options and duplicated output directory resolution.
- Modified commands/pick.py to fix incorrect options and duplicated output directory resolution.
- Modified utils/io.py to fix non-None but falsy voxel sizes falling back to resolved_voxel_size which wouldn't be assigned.
- Modified tests/unit/test_utils.py to add unit tests for logging configuration.
@holsam
holsam merged commit 6e61fa9 into main Sep 24, 2026
1 check passed
@holsam
holsam deleted the stamp-v0.10.0 branch September 24, 2026 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant