diff --git a/bin/cosmic-pop b/bin/cosmic-pop index bd2649eae..be0a1ad69 100755 --- a/bin/cosmic-pop +++ b/bin/cosmic-pop @@ -120,7 +120,7 @@ def parse_commandline(): " to select the subpopulation of interest from the evolved population") parser.add_argument("--match", type=float, help="provides the tolerance for the convergence calculation") parser.add_argument("--apply_convergence_limits", type=str2bool, nargs='?', - const=True, default=False, help="filters the evolved binary population to contain" + const=True, help="filters the evolved binary population to contain" " only the binaries that satsify the convergence limits") parser.add_argument("--seed", type=int) parser.add_argument("--verbose", action="store_true", default=False, diff --git a/src/cosmic/sample/sampler/independent.py b/src/cosmic/sample/sampler/independent.py index 80ec3006f..13909d717 100644 --- a/src/cosmic/sample/sampler/independent.py +++ b/src/cosmic/sample/sampler/independent.py @@ -304,7 +304,7 @@ def get_independent_sampler( # sample periods and eccentricities # if the porb_model is moe19, the metallicity needs to be supplied - if porb_model == "moe19": + if porb_model in ["moe19", "martinez26", "martinez26_ecsn"]: porb,aRL_over_a = initconditions.sample_porb( mass1_binary, mass2_binary, rad1, rad2, porb_model, met=met, size=mass1_binary.size )