Commit a2508e9d authored by htyao's avatar htyao
Browse files

Fix bug

parent 7b4da1f0
from .varnaapi import set_VARNA, BasicDraw, Structure, Comparison, Motif, VARNA
from .param import load_config
__version__ = '1.0.0'
......@@ -173,7 +173,7 @@ def load_config(filename):
with open(filename, 'r') as f:
params = yaml.load(f, Loader=yaml.Loader)
for par in PARAM_LIST:
val = params.get(par, default=None)
val = params.get(par, None)
if val is not None:
val = _params_type_check(par, val)
PARAM_DEFAULT[par] = val
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment