Closed daalgi closed 7 months ago
The problem was that openpile was installed from the main repo as a dependency, so the locally updated code had no effect on the tests. Solved updating requirements.txt
:
#-e git+https://github.com/TchilDill/openpile.git@e8aac1b7152a3ccbf6955d7df6f435d7f1ea753a#egg=openpile
-e file:///D:/path/to/openpile
And then installing again:
pip install -r requirements.txt
I was trying to add a new material type following the current implementation of
Pile
. Here's the code:When I try to add a test creating a concrete pile, there's a pydantic validation error:
Even if I define material as
material: Literal["Concrete"]
, I still get the very same error saying that only "Steel" is a permitted value. Where're the permitted values defined?