diff --git a/BALSAMIC/commands/config/qc.py b/BALSAMIC/commands/config/qc.py index 3a84c04ac..5822b4a55 100644 --- a/BALSAMIC/commands/config/qc.py +++ b/BALSAMIC/commands/config/qc.py @@ -146,6 +146,9 @@ def qc_config( container_version, ): + if container_version: + balsamic_version = container_version + try: samples = get_sample_dict( tumor=tumor, @@ -157,9 +160,6 @@ def qc_config( LOG.error(f"File name is invalid, use convention [SAMPLE_ID]_R_[1,2].fastq.gz") raise click.Abort() - if container_version: - balsamic_version = container_version - reference_config = os.path.join( balsamic_cache, balsamic_version, genome_version, "reference.json" )