add support for python 3

This commit is contained in:
Noe Brucy
2020-06-24 00:37:28 +02:00
committed by Noe Brucy
parent ffa5c90168
commit 6bddd1e477
7 changed files with 46 additions and 24 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
import numpy as np
import re
import bunch
import munch
import yaml
import os
@@ -29,7 +29,7 @@ _loader.add_implicit_resolver(
def load_params(filename):
with open(filename) as f:
para_disk = yaml.load(f, Loader=_loader)
return bunch.bunchify(para_disk)
return munch.munchify(para_disk)
def default_params():