Skip to content

Commit

Permalink
Update bactopia-to-md.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rpetit3 authored Sep 22, 2024
1 parent 7c520e5 commit f076f47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/bactopia-to-md.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ def read_nextflow_config(nf_config):
""" """
config = {}
with open(nf_config, 'rt') as nf_fh:
if "=" in line:
for line in nf_fh:
for line in nf_fh:
if "=" in line:
k,v = line.rstrip().split(' = ')
config[k] = nf_to_list(v) if v.startswith('[') else v
return config
Expand Down

0 comments on commit f076f47

Please sign in to comment.