Loading binarycpython/utils/functions.py +1 −1 Original line number Diff line number Diff line Loading @@ -207,7 +207,7 @@ def get_moe_distefano_dataset(options): if not options.get("file", None): print("Using the default Moe and de Stefano 2017 datafile") json_data = moe_distefano_data.moe_distefano_2017_data json_data = copy.deepcopy(moe_distefano_data.moe_distefano_2017_data) else: if not os.path.isfile(options["file"]): Loading binarycpython/utils/grid.py +6 −4 Original line number Diff line number Diff line Loading @@ -1641,6 +1641,11 @@ class Population: # Clean up the interpolator functions self._clean_interpolators() # Also remove the rest of the contents keys_moecache = list(Moecache.keys()) for key in keys_moecache: del Moecache[key] ################################################### # Gridcode functions # Loading Loading @@ -3158,6 +3163,7 @@ class Population: json_data = get_moe_distefano_dataset(options) # entry of log10M1 is a list containing 1 dict. We can take the dict out of the list json_data["log10M1"] = json_data["log10M1"][0] # Get all the masses Loading Loading @@ -3775,7 +3781,3 @@ eccentricity3=0 for key in interpolator_keys: Moecache[key].destroy() del Moecache[key] Loading
binarycpython/utils/functions.py +1 −1 Original line number Diff line number Diff line Loading @@ -207,7 +207,7 @@ def get_moe_distefano_dataset(options): if not options.get("file", None): print("Using the default Moe and de Stefano 2017 datafile") json_data = moe_distefano_data.moe_distefano_2017_data json_data = copy.deepcopy(moe_distefano_data.moe_distefano_2017_data) else: if not os.path.isfile(options["file"]): Loading
binarycpython/utils/grid.py +6 −4 Original line number Diff line number Diff line Loading @@ -1641,6 +1641,11 @@ class Population: # Clean up the interpolator functions self._clean_interpolators() # Also remove the rest of the contents keys_moecache = list(Moecache.keys()) for key in keys_moecache: del Moecache[key] ################################################### # Gridcode functions # Loading Loading @@ -3158,6 +3163,7 @@ class Population: json_data = get_moe_distefano_dataset(options) # entry of log10M1 is a list containing 1 dict. We can take the dict out of the list json_data["log10M1"] = json_data["log10M1"][0] # Get all the masses Loading Loading @@ -3775,7 +3781,3 @@ eccentricity3=0 for key in interpolator_keys: Moecache[key].destroy() del Moecache[key]