Skip to content

Commit

Permalink
appropriate naming
Browse files Browse the repository at this point in the history
  • Loading branch information
MattWellie committed Mar 1, 2024
1 parent a09fa54 commit 91c7d27
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion reanalysis/minimise_output_for_seqr.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,13 @@ def main(
'support_vars': variant.support_vars,
}
)
additional_string = 'phenotype-matched' if pheno_match else ''

if pheno_match:
additional_string = 'phenotype-matched'
output = output.replace('.json', '_pheno.json')
else:
additional_string = ''

if not any(lil_data.results.values()):
logging.info(f'No {additional_string} results found')
return
Expand Down

0 comments on commit 91c7d27

Please sign in to comment.