1
0
Fork 0
This repository has been archived on 2024-06-28. You can view files and clone it, but cannot push or open issues or pull requests.
collision-analysis-and-inte.../example.py
2021-10-12 15:45:43 +02:00

17 lines
383 B
Python

"""
Just a demo file on how to quickly read the dataset
"""
from pathlib import Path
from pprint import pprint
from simulation_list import SimulationList
simlist = SimulationList.jsonlines_load(Path("save.jsonl"))
for s in simlist.simlist:
if not s.testcase:
continue
if s.water_retention_both < 0.2:
pprint(vars(s))
print(s.water_retention_both)