diff --git a/src/scripts/model_maker.py b/src/scripts/model_maker.py index 27e4352c34b2f2eafa7f013bd9c7791923c7f13b..c25bb4c6df8d025c90367c8555e9e30ce2fc333d 100755 --- a/src/scripts/model_maker.py +++ b/src/scripts/model_maker.py @@ -328,6 +328,8 @@ def load_model(model_file): for j in range(expected_radii): sconf['rcf'][i][j] = float(model['particle_settings']['rad_frac'][i][j]) # Create the gconf dict + use_refinement = False + dyn_orders = True try: use_refinement = False if model['system_settings']['refinement'] == "0" else True except KeyError: @@ -335,7 +337,7 @@ def load_model(model_file): try: dyn_orders = False if model['radiation_settings']['dyn_orders'] == "0" else True except KeyError: - use_refinement = False + dyn_orders = True str_polar = model['radiation_settings']['polarization'] if (str_polar not in ["LINEAR", "CIRCULAR"]): print("ERROR: %s is not a recognized polarization state."%str_polar)