You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When given a wrong path the GridResultContainer returns "Can't determine simulation end .. " we should hint that this could be due to a wrong path
If the path is wrong but the folder contains a folder called rawOutputData we should use that path
Check if such changes should be implemented for the ResultDicts. l
----> [2](vscode-notebook-cell:?execution_count=7&line=2) res_b = GridResultContainer.from_csv("", os.path.join(res_base_path, name_b))
File [~/coding/python/pypsdm/pypsdm-feature/pypsdm/models/result/container/grid.py:129](https://file+.vscode-resource.vscode-cdn.net/Users/thomas/coding/python/pypsdms/pypsdms/dev/~/coding/python/pypsdm/pypsdm-feature/pypsdm/models/result/container/grid.py:129), in GridResultContainer.from_csv(cls, name, simulation_data_path, delimiter, simulation_end, grid_container, filter_start, filter_end)
[127](https://file+.vscode-resource.vscode-cdn.net/Users/thomas/coding/python/pypsdms/pypsdms/dev/~/coding/python/pypsdm/pypsdm-feature/pypsdm/models/result/container/grid.py:127) if simulation_end is None:
[128](https://file+.vscode-resource.vscode-cdn.net/Users/thomas/coding/python/pypsdms/pypsdms/dev/~/coding/python/pypsdm/pypsdm-feature/pypsdm/models/result/container/grid.py:128) if len(nodes.entities) == 0:
--> [129](https://file+.vscode-resource.vscode-cdn.net/Users/thomas/coding/python/pypsdms/pypsdms/dev/~/coding/python/pypsdm/pypsdm-feature/pypsdm/models/result/container/grid.py:129) raise ValueError(
[130](https://file+.vscode-resource.vscode-cdn.net/Users/thomas/coding/python/pypsdms/pypsdms/dev/~/coding/python/pypsdm/pypsdm-feature/pypsdm/models/result/container/grid.py:130) "Can't determine simulation end time automatically. No node results to base it on. Please configure 'simulation_end' manually."
[131](https://file+.vscode-resource.vscode-cdn.net/Users/thomas/coding/python/pypsdms/pypsdms/dev/~/coding/python/pypsdm/pypsdm-feature/pypsdm/models/result/container/grid.py:131) )
[132](https://file+.vscode-resource.vscode-cdn.net/Users/thomas/coding/python/pypsdms/pypsdms/dev/~/coding/python/pypsdm/pypsdm-feature/pypsdm/models/result/container/grid.py:132) some_node_res = next(iter(nodes.entities.values()))
[133](https://file+.vscode-resource.vscode-cdn.net/Users/thomas/coding/python/pypsdms/pypsdms/dev/~/coding/python/pypsdm/pypsdm-feature/pypsdm/models/result/container/grid.py:133) simulation_end = some_node_res.data.index.max()
ValueError: Can't determine simulation end time automatically. No node results to base it on. Please configure 'simulation_end' manually.
The text was updated successfully, but these errors were encountered:
GridResultContainer
returns "Can't determine simulation end .. " we should hint that this could be due to a wrong pathrawOutputData
we should use that pathCheck if such changes should be implemented for the
ResultDict
s. lThe text was updated successfully, but these errors were encountered: