-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Path('~/').expanduser()
in config validators?
#57
Comments
All the images are parsed as strings in the config: ewatercycle/ewatercycle/config/_validators.py Line 139 in 9028a37
If they are always paths, could do: That will resolve the |
Seems like this does not work, because |
Looking at the documentation of |
From singularity help
I like |
I also like the |
Yep, first time its downloaded, converted into Singularity format and stored in |
Also see eWaterCycle/grpc4bmi#100 |
I tried setting the path to singularity to
~/ewatercycle/singularity_image.sif
, and I found that Pathlib later on failed like so:I think it would be nice if the config validators automatically resolve the path so we don't have to do it everywhere in the code.
The text was updated successfully, but these errors were encountered: