Skip to content

Commit

Permalink
fix yaml warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sigven committed Dec 20, 2023
1 parent 98c1c43 commit b9bfd1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pcgr/cpsr.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ def run_cpsr(conf_options, cpsr_paths):
if variant_set.loc[variant_set['GENOTYPE'] == '.'].empty and variant_set.loc[variant_set['GENOTYPE'] == 'undefined'].empty:
yaml_data['conf']['sample_properties']['genotypes_available'] = 1

yaml_data['conf']['gene_panel']['panel_id'] = re.sub(r',',';', yaml_data['conf']['gene_panel']['panel_id'])
with open(yaml_fname, "w") as outfile:
outfile.write(yaml.dump(yaml_data))
outfile.close()
Expand Down

0 comments on commit b9bfd1e

Please sign in to comment.