diff --git a/binarycpython/utils/grid.py b/binarycpython/utils/grid.py index 3e23b29da60d69afd15a19621623de2014d43d17..466d99aabec197436053ec63537ecef280d754ca 100644 --- a/binarycpython/utils/grid.py +++ b/binarycpython/utils/grid.py @@ -1270,7 +1270,7 @@ class Population: verbose_print( "Process {} is handling system {}".format(ID, system_number), self.grid_options["verbosity"], - 2, + 1, ) # In some cases, the whole run crashes. To be able to figure out which system @@ -3934,7 +3934,12 @@ eccentricity3=0 # Just return 1 if no option has been chosen if self.grid_options['multiplicity_fraction_function'] == 0: - print("Chosen not to use any multiplicity fraction.") + verbose_print( + "_calculate_multiplicity_fraction: Chosen not to use any multiplicity fraction.", + self.grid_options["verbosity"], + 2, + ) + return 1 # Raise an error if the multiplicity is not set @@ -3948,7 +3953,7 @@ eccentricity3=0 verbose_print( "_calculate_multiplicity_fraction: Using Arenou 2010 to calculate multiplicity fractions", self.grid_options["verbosity"], - 1, + 2, ) binary_fraction = Arenou2010_binary_fraction(system_dict['M_1']) @@ -3959,7 +3964,7 @@ eccentricity3=0 verbose_print( "_calculate_multiplicity_fraction: Using Rhagavan 2010 to calculate multiplicity fractions", self.grid_options["verbosity"], - 1, + 2, ) binary_fraction = raghavan2010_binary_fraction(system_dict['M_1']) @@ -3978,7 +3983,7 @@ eccentricity3=0 verbose_print( "_calculate_multiplicity_fraction: Moecache is empty. It needs to be filled with the data for the interpolators. Loading the data now", self.grid_options["verbosity"], - 1, + 2, ) # Load the data @@ -4007,7 +4012,7 @@ eccentricity3=0 verbose_print( "Multiplicity: {} multiplicity_fraction: {}".format(system_dict['multiplicity'], multiplicity_fraction_dict[system_dict['multiplicity']]), self.grid_options["verbosity"], - 1, + 2, ) return multiplicity_fraction_dict[system_dict['multiplicity']]