Skip to content
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

fix small bug in loading non-camels data #11

Merged
merged 1 commit into from
Feb 27, 2024
Merged

fix small bug in loading non-camels data #11

merged 1 commit into from
Feb 27, 2024

Conversation

Daafip
Copy link
Owner

@Daafip Daafip commented Feb 27, 2024

default path now shorter & checks if longer than that

diff --git a/src/ewatercycle_HBV/forcing.py b/src/ewatercycle_HBV/forcing.py --- a/src/ewatercycle_HBV/forcing.py
+++ b/src/ewatercycle_HBV/forcing.py
@@ -67,2 +67,2 @@
     # either a forcing file is supplied
-    forcing_file: Optional[str] = "forcing.txt"
+    forcing_file: Optional[str] = ".txt"

default path now shorter & checks if longer than that
diff --git a/src/ewatercycle_HBV/forcing.py b/src/ewatercycle_HBV/forcing.py
--- a/src/ewatercycle_HBV/forcing.py
+++ b/src/ewatercycle_HBV/forcing.py
@@ -67,2 +67,2 @@
     # either a forcing file is supplied
-    forcing_file: Optional[str] = "forcing.txt"
+    forcing_file: Optional[str] = ".txt"
@Daafip Daafip merged commit 9e2faae into main Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant