We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 859855f commit 7c520e5Copy full SHA for 7c520e5
bin/bactopia-to-md.py
@@ -122,9 +122,10 @@ def read_nextflow_config(nf_config):
122
""" """
123
config = {}
124
with open(nf_config, 'rt') as nf_fh:
125
- for line in nf_fh:
126
- k,v = line.rstrip().split(' = ')
127
- config[k] = nf_to_list(v) if v.startswith('[') else v
+ if "=" in line:
+ for line in nf_fh:
+ k,v = line.rstrip().split(' = ')
128
+ config[k] = nf_to_list(v) if v.startswith('[') else v
129
return config
130
131
def nf_to_list(param):
0 commit comments