Skip to content

Update command syntax to include config option in microsalt execution - #5069

Open
diitaz93 wants to merge 7 commits into
masterfrom
add-microsalt-config-to-call
Open

Update command syntax to include config option in microsalt execution#5069
diitaz93 wants to merge 7 commits into
masterfrom
add-microsalt-config-to-call

Conversation

@diitaz93

@diitaz93 diitaz93 commented May 4, 2026

Copy link
Copy Markdown
Contributor

Description

Fix the call to the microSALT binary to put the config file in the correct order

PR in servers: https://github.com/Clinical-Genomics/servers/pull/1821

Added

  • Support for parsing the microsalt config file from cg.yaml
  • MicrosaltCaseConfig now saves the pipeline config as an attribute

Changed

  • The get_start_command in cg.services.analysis_starter.configurator.models.microsalt.MicrosaltCaseConfig adds the pipeline config after calling the pipeline binary
  • Use the pipeöine config in the command to get the microsalt version

How to prepare for test

  • Ssh to relevant server (depending on type of change)
  • Use stage: us
  • Paxa the environment: paxa
  • Install on stage (example for Hasta):
    bash /home/proj/production/servers/resources/hasta.scilifelab.se/update-tool-stage.sh -e S_cg -t cg -b add-microsalt-config-to-call -a

How to test

  • Do ...

Expected test outcome

  • Check that ...
  • Take a screenshot and attach or copy/paste the output.

Review

  • Tests executed by
  • "Merge and deploy" approved by
    Thanks for filling in who performed the code review and the test!

This version is a

  • MAJOR - when you make incompatible API changes
  • MINOR - when you add functionality in a backwards compatible manner
  • PATCH - when you make backwards compatible bug fixes or documentation/instructions

Implementation Plan

  • Document in ...
  • Deploy this branch on ...
  • Inform to ...

@diitaz93
diitaz93 requested a review from a team as a code owner May 4, 2026 14:37
@diitaz93 diitaz93 linked an issue May 4, 2026 that may be closed by this pull request
1 task
Comment thread cg/services/analysis_starter/configurator/models/microsalt.py Outdated
Comment thread tests/services/analysis_starter/test_case_configs.py Outdated
@diitaz93
diitaz93 requested a review from karlnyr May 5, 2026 14:41

@karlnyr karlnyr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works and looks like a charm!

@sonarqubecloud

Copy link
Copy Markdown

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.

Make microSALT start with --config and path to the config

2 participants