mirror of
https://github.com/pim-n/pg-rad
synced 2026-06-17 15:59:35 +02:00
remove print line
This commit is contained in:
@ -47,7 +47,6 @@ def save_results(sim: SimulationOutput, folder_name: str) -> None:
|
|||||||
csv_name = generate_csv_name(sim)
|
csv_name = generate_csv_name(sim)
|
||||||
df.to_csv(f"{folder_name}/{csv_name}.csv", index=False)
|
df.to_csv(f"{folder_name}/{csv_name}.csv", index=False)
|
||||||
param_dict = generate_sim_param_dict(sim)
|
param_dict = generate_sim_param_dict(sim)
|
||||||
print(type(param_dict['detector']['is_isotropic']))
|
|
||||||
with open(f"{folder_name}/parameters.json", 'w') as f:
|
with open(f"{folder_name}/parameters.json", 'w') as f:
|
||||||
json.dump(param_dict, f, cls=NumpyEncoder)
|
json.dump(param_dict, f, cls=NumpyEncoder)
|
||||||
logger.info(f"Simulation output saved to {folder_name}!")
|
logger.info(f"Simulation output saved to {folder_name}!")
|
||||||
|
|||||||
Reference in New Issue
Block a user