Skip to content

Commit

Permalink
address duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
rannick committed Mar 31, 2022
1 parent 4a93c60 commit ae4539a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions BALSAMIC/commands/config/qc.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ def qc_config(
container_version,
):

if container_version:
balsamic_version = container_version

try:
samples = get_sample_dict(
tumor=tumor,
Expand All @@ -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"
)
Expand Down

0 comments on commit ae4539a

Please sign in to comment.