You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parser = argparse.ArgumentParser(description = 'makes metadata.yaml for Matt')
parser.add_argument('model_folder', type=str, help='model folder to create metadata.yaml file for')
parser.add_argument('IC_cfg_path', type=str, help='relative path to Initial_Condtion yaml file (which implicity contains path to the corresponding mechanism file), prototypical example is: sampleDiffusionFlame.yaml')
parser.add_argument('--version', type=float, default=2.0, help='version of model, assuming CTV2 by default')
args = parser.parse_args()
with open(args.IC_cfg_path, 'r') as f:
IC_cfg = yaml.safe_load(f)
assert 'initializers' in IC_cfg, 'invalid IC_cfg file! (initial conditions missing)'