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

SyntaxWarning running tutorial with Python 3.12.7 #111

Open
erexer opened this issue Nov 11, 2024 · 0 comments
Open

SyntaxWarning running tutorial with Python 3.12.7 #111

erexer opened this issue Nov 11, 2024 · 0 comments

Comments

@erexer
Copy link
Contributor

erexer commented Nov 11, 2024

$ python run.py
/<my path>/mosartwmpy/mosartwmpy/input/runoff.py:30: SyntaxWarning: invalid escape sequence '\{'
  path = re.sub('\{(?:Y|y)[^}]*}', current_time.strftime('%Y'), path)
/<my path>/mosartwmpy/mosartwmpy/input/runoff.py:31: SyntaxWarning: invalid escape sequence '\{'
  path = re.sub('\{(?:M|m)[^}]*}', current_time.strftime('%m'), path)
/<my path>/mosartwmpy/mosartwmpy/input/runoff.py:32: SyntaxWarning: invalid escape sequence '\{'
  path = re.sub('\{(?:D|d)[^}]*}', current_time.strftime('%d'), path)
/<my path>/mosartwmpy/mosartwmpy/input/demand.py:37: SyntaxWarning: invalid escape sequence '\{'
  path = re.sub('\{(?:Y|y)[^}]*}', current_time.strftime('%Y'), path)
/<my path>/mosartwmpy/mosartwmpy/input/demand.py:38: SyntaxWarning: invalid escape sequence '\{'
  path = re.sub('\{(?:M|m)[^}]*}', current_time.strftime('%m'), path)
/<my path>/mosartwmpy/mosartwmpy/input/demand.py:39: SyntaxWarning: invalid escape sequence '\{'
  path = re.sub('\{(?:D|d)[^}]*}', current_time.strftime('%d'), path)
Initalizing model...
Done.
Beginning simulation for 1981-05-24 through 1981-05-26...
Running mosartwmpy  [####################################]  100%  1981-05-26 21:00:00
Simulation completed in 23.043 seconds.
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

No branches or pull requests

1 participant