From 76e54e33ad32936fe21e1f5c68caafaa79af6ff4 Mon Sep 17 00:00:00 2001 From: Celeste-Melize Ferrus <68361708+cferrus@users.noreply.github.com> Date: Mon, 9 Feb 2026 22:06:01 +0200 Subject: [PATCH] Update cosmic-pop Minor typos in the warning printed out during cosmic-pop work. --- bin/cosmic-pop | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/cosmic-pop b/bin/cosmic-pop index 64de4f38..0f0c9f17 100755 --- a/bin/cosmic-pop +++ b/bin/cosmic-pop @@ -440,8 +440,8 @@ if __name__ == '__main__': conv_singles_filter = utils.conv_select_singles(bcm_singles, bpp_singles, kstar1_range) if conv_filter.empty: - warnings.warn("After filtering for desired convegence systems there were no systems matching your request. It is possible you are suggesting incompatible bin_state choices and pop_select, e.g. bin_state=[0,1], pop_select='disruption'") - log_file.write("After filtering for desired convegence systems there were no systems matching your request. It is possible you are suggesting incompatible bin_state choices and pop_select, e.g. bin_state=[0,1], pop_select='disruption'") + warnings.warn("After filtering for desired convergence systems, there were no systems matching your request. It is possible you are suggesting incompatible bin_state choices and pop_select, e.g. bin_state=[0,1], pop_select='disruption'") + log_file.write("After filtering for desired convergence systems, there were no systems matching your request. It is possible you are suggesting incompatible bin_state choices and pop_select, e.g. bin_state=[0,1], pop_select='disruption'") bcm_filter = bcm.loc[bcm.bin_num.isin(conv_filter.bin_num)] bpp_filter = bpp.loc[bpp.bin_num.isin(conv_filter.bin_num)] @@ -457,8 +457,8 @@ if __name__ == '__main__': # Filter the bin_state based on user specified filters bcm_filter, bin_state_nums = utils.filter_bin_state(bcm_filter, bpp_filter, filters, kstar1_range, kstar2_range) if bcm_filter.empty: - warnings.warn("After filtering the bcm array for desired systems there were no systems matching your request. It is possible you should up to the number of binaries provessed in each iteration, i.e. Nstep") - log_file.write("After filtering the bcm array for desired systems there were no systems matching your request. It is possible you should up to the number of binaries provessed in each iteration, i.e. Nstep\n") + warnings.warn("After filtering the bcm array for desired systems there were no systems matching your request. It is possible you should up the number of binaries processed in each iteration, i.e. Nstep") + log_file.write("After filtering the bcm array for desired systems there were no systems matching your request. It is possible you should up the number of binaries processed in each iteration, i.e. Nstep\n") initC_filter = initC_filter.loc[initC_filter.bin_num.isin(bcm_filter.bin_num)] kick_info_filter = kick_info_filter.loc[kick_info_filter.bin_num.isin(bcm_filter.bin_num)] bpp_filter = bpp_filter.loc[bpp_filter.bin_num.isin(bcm_filter.bin_num)]