Skip to content

Commit f076f47

Browse files
authored
Update bactopia-to-md.py
1 parent 7c520e5 commit f076f47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/bactopia-to-md.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ def read_nextflow_config(nf_config):
122122
""" """
123123
config = {}
124124
with open(nf_config, 'rt') as nf_fh:
125-
if "=" in line:
126-
for line in nf_fh:
125+
for line in nf_fh:
126+
if "=" in line:
127127
k,v = line.rstrip().split(' = ')
128128
config[k] = nf_to_list(v) if v.startswith('[') else v
129129
return config

0 commit comments

Comments
 (0)