As a Balsamic developer, I want to improve the codebase by refactoring existing code to enhance maintainability, readability, and performance, ensuring the long-term sustainability of the pipeline.
Suggested approach
Use static code analysis tools and manual review to identify code smells, duplicated code, and areas with high complexity. Prioritise sections of code that are prone to bugs, difficult to understand, or hinder future development.
Need
As a Balsamic developer, I want to improve the codebase by refactoring existing code to enhance maintainability, readability, and performance, ensuring the long-term sustainability of the pipeline.
Suggested approach
Use static code analysis tools and manual review to identify code smells, duplicated code, and areas with high complexity. Prioritise sections of code that are prone to bugs, difficult to understand, or hinder future development.
Considered alternatives
No response
Deviation
No response
System requirements assessed
Requirements affected by this story
No response
Risk assessment needed
Risk assessment
No response
SOUPs
No response
Can be closed when
[ ] Python design and style
[ ] Codebase
ascat_chr_y_loci
).--disable-variant-callers
since it has been not supported by our latest changes.deliver.py
scheduler.py
script (https://github.com/Clinical-Genomics/BALSAMIC/pull/1372)rule.py
gender
tosex
-r
flag and make use of--dry-run
exclusivelyfixture
prefix and stop usingname=fixture_
)pytest_plugins
)[ ] Snakemake
ConfigModel
is used across rules to access the config case JSON file.*.smk
, which should only contain therule all
rules_to_include
, removing the need for appends insmk
[ ] Sonarcloud issues
WORKDIR
instruction should be used instead of cd command (Dockerfiles)Blockers
No response
Anything else?
No response