Skip to content

feat: Automate configuration YAML generation (Resolves #24)#43

Open
dyrpsf wants to merge 1 commit into
draeger-lab:devfrom
dyrpsf:feature/issue-24-config-sync
Open

feat: Automate configuration YAML generation (Resolves #24)#43
dyrpsf wants to merge 1 commit into
draeger-lab:devfrom
dyrpsf:feature/issue-24-config-sync

Conversation

@dyrpsf

@dyrpsf dyrpsf commented Jul 14, 2026

Copy link
Copy Markdown

Description

This PR addresses Issue #24 to improve QoL for developers maintaining configuration files[cite: 8]. Instead of maintaining basic, advanced, and default YAMLs manually and risking inconsistencies, a Python script has been added to automate the generation process[cite: 8].

Key Changes

  • Added scripts/sync_configs.py.
  • Default Config: Remains the single source of truth.
  • Advanced Config: The script copies the default config but strips out inline developer tags (# @IDEA, # @TODO, # @DEV)[cite: 7, 8].
  • Basic Config: The script strips out developer tags and drops complex configuration blocks (like refinement_cleanup, GeneGapFiller, mcc) to create a minimal "quick-and-dirty" file[cite: 7, 8].

Usage

Developers only need to edit src/specimen/data/config/hqtb_config_default.yaml, then run:
python scripts/sync_configs.py from the root directory to safely overwrite and sync the advanced and basic configuration files.

Resolves draeger-lab#24. Introduces scripts/sync_configs.py to automatically parse hqtb_config_default.yaml and generate basic and advanced variations, stripping dev tags (@todo, @IdEA) and omitting advanced parameter blocks.
@dyrpsf
dyrpsf changed the base branch from main to dev July 16, 2026 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant