-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Storing can't process correctly if the database is locked (for example caused by an analysis start) as it tries to fetch the microSALT version from the pipeline.
linked file: /home/proj/production/microbial/results/ACC17038_2025.3.9_13.52.15/ACC17038A88/assembly/quast/ACC17038A88_report.tsv -> /home/proj/production/housekeeper-bundles/usablerobin/2025-03-09/ACC17038A88_report.tsv
linked file: /home/proj/production/microbial/results/ACC17038_2025.3.9_13.52.15/ACC17038A88/alignment/ACC17038A88_NC_000913.3.bam_sort -> /home/proj/production/housekeeper-bundles/usablerobin/2025-03-09/ACC17038A88_NC_000913.3.bam_sort
linked file: /home/proj/production/microbial/results/ACC17038_2025.3.9_13.52.15/ACC17038A88/alignment/ACC17038A88_NC_000913.3.stats.ins -> /home/proj/production/housekeeper-bundles/usablerobin/2025-03-09/ACC17038A88_NC_000913.3.stats.ins
Analysis successfully stored in Housekeeper: usablerobin (2025-03-09 15:24:06)
Storing analysis in StatusDB for usablerobin
Found deliverables file /home/proj/production/microbial/results/reports/deliverables/1002665_deliverables.yaml
Running command /home/proj/production/bin/miniconda3/bin/conda run --name P_microSALT /home/proj/production/bin/miniconda3/envs/P_microSALT/bin/microSALT --version
Call ['/home/proj/production/bin/miniconda3/bin/conda run --name P_microSALT', '/home/proj/production/bin/miniconda3/envs/P_microSALT/bin/microSALT', '--version'] exit with a non zero exit code
Error: in prepare, database is locked (5)
ERROR - Database integrity failed! Lock-state detected!
ERROR conda.cli.main_run:execute(124): `conda run /home/proj/production/bin/miniconda3/envs/P_microSALT/bin/microSALT --version` failed. (See above for error)
Could not retrieve microsalt workflow version!
Analysis successfully stored in StatusDB: usablerobin : 2025-03-09 15:24:06
Action None set for case usablerobin
Part of the issue here is that calling microSALT will try to instantiate the database. A fix for this would be to move the instantiation of the app to a function, and then call that function in the appropriate cli calls
Metadata
Metadata
Assignees
Labels
No labels