bugfix lightcone output

This commit is contained in:
Mayeul Aubin 2025-03-24 17:33:27 +01:00
parent 06edf57e24
commit 881bc7b234

View file

@ -188,9 +188,9 @@ def parse_arguments_card(parsed_args):
if card_dict["OutputSnapshotsBase"] is None:
card_dict["OutputSnapshotsBase"] = main_dict["resultdir"]+"particles_"+main_dict["simname"]
if card_dict["OutputFinalSnapshot"] is None:
card_dict["OutputFinalSnapshot"] = main_dict["resultdir"]+ligthcone_prefix+"final_particles_"+main_dict["simname"]+".gadget3"
card_dict["OutputFinalSnapshot"] = main_dict["resultdir"]+ligthcone_prefix+"final_particles_"+main_dict["simname"]+("_lc" if card_dict["GenerateLightcone"] else "")+".gadget3"
if card_dict["OutputFinalDensity"] is None:
card_dict["OutputFinalDensity"] = main_dict["resultdir"]+ligthcone_prefix+"final_density_"+main_dict["simname"]+".h5"
card_dict["OutputFinalDensity"] = main_dict["resultdir"]+ligthcone_prefix+"final_density_"+main_dict["simname"]+("_lc" if card_dict["GenerateLightcone"] else "")+".h5"
if card_dict["OutputTilesBase"] is None:
card_dict["OutputTilesBase"] = main_dict["workdir"]+main_dict["simname"]+"_tile"
if card_dict["OutputLPTPotential1"] is None: