Skip to content

Commit

Permalink
fixed error in custom input of mhc
Browse files Browse the repository at this point in the history
  • Loading branch information
riasc committed Jan 16, 2024
1 parent c0041c9 commit 5a5be65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/rules/common.smk
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def get_all_mhcI_alleles(wildcards):
sample = wildcards.sample)

if "custom" in config["hlatyping"]["MHC-I_mode"]:
values += config["data"]["custom"]["hlatyping"]["MHC-I"]
values += [config["data"]["custom"]["hlatyping"]["MHC-I"]]

if len(values) == 0:
print('No hla data found. Check config file for correct specification of data and hla genotyping mode')
Expand Down

0 comments on commit 5a5be65

Please sign in to comment.