Repository navigation
Conversation
Add packaging entries to include crispron/bin scripts and sgdesigner assets in distributions. MANIFEST.in now recursively includes src/crisprhawk/scores/crispron/bin and src/crisprhawk/scores/sgdesigner, and pyproject.toml maps package data for crisprhawk.scores.crispron.bin (sh, py) and crisprhawk.scores.sgdesigner (all files) so these resources are bundled when building the package.
Export CUDA_VISIBLE_DEVICES="" in the CRISPRon.sh wrapper to prevent GPU usage. Add descriptive docstrings and argument/return/error descriptions to crispron.py helper functions: _find_output_csv, _load_crispron_scores, _generate_crispron_tmp_data, _write_guides_fasta, and compute_crispron_score. Also include minor formatting/whitespace tweaks. No behavioral changes to scoring logic aside from environment variable handling.
Add detailed docstrings and usage notes to configuration, utils, scoring and sgDesigner modules to improve clarity and maintainability. Key changes: document Config class and its load/validate methods; add validation/prepare docs for CrisprOn and sgDesigner configs; document config_utils helpers (set_command, create_mamba_env, model download/extract helpers, etc.); add docstrings for scoring wrappers (crispron, sgdesigner) and several scoring pipeline functions; add module-level descriptions and minor cleanup in sgdesigner (removed an unused _init_environ helper). These are primarily documentation and small tidy-ups with no intended behavioral changes.
Clean up whitespace and minor formatting in scoring-related modules. Fixed trailing spaces in docstrings and comments and a stray extra space in a tempfile.TemporaryDirectory call across: - src/crisprhawk/scores/crisprhawk_scores.py - src/crisprhawk/scores/crispron/crispron.py - src/crisprhawk/scores/sgdesigner/sgdesigner.py - src/crisprhawk/scoring.py These are non-functional style changes to improve consistency and reduce diff noise; no behavioral changes intended.
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.
This PR prepares the
v0.2.1release and introduces major improvements to packaging, installation, scoring integration, documentation, and overall usability.Highlights
Packaging and Distribution Improvements
Improved Python packaging configuration for PyPI and wheel compatibility
Added support for shipping external scoring resources and auxiliary scripts directly within the package
Included bundled resources for:
Added proper package-data configuration in
pyproject.tomlImproved
MANIFEST.inhandling for non-Python assetsEnabled safer installation behavior with:
include-package-data = truezip-safe = falseCRISPRon Integration
sgDesigner Integration
Added bundled:
sgDesigner.plformat_features_25.pmImproved packaging and runtime accessibility of Perl-based scoring utilities
Documentation
Major expansion and restructuring of the README
Added:
CLI and Workflow Improvements
Improved command-line usability and help messages
Improved support for:
Improved handling of external dependencies and isolated environments