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

run_model should scan for existance of files before attempting to move in test mode #22

Closed
jklenzing opened this issue Jan 31, 2019 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@jklenzing
Copy link
Member

jklenzing commented Jan 31, 2019

Describe the bug
If sami2py.run_model is invoked with test=True and output files do not exist, FileNotFoundError will occur. This will happen the first time run_model is invoked if it is in test mode.

To Reproduce
Steps to reproduce the behavior:
run sami2py.run_model(year=2012, day=211, test=True)

outputs: FileNotFoundError: [Errno 2] No such file or directory: 'glonf.dat'

@jklenzing jklenzing self-assigned this Jan 31, 2019
@jklenzing jklenzing added the bug Something isn't working label Jan 31, 2019
@jklenzing jklenzing added this to To Do in User Interface Improvements via automation Jan 31, 2019
@jklenzing jklenzing added this to the Public Release milestone Jan 31, 2019
@jklenzing jklenzing moved this from To Do to In Progress in User Interface Improvements Jan 31, 2019
jklenzing added a commit that referenced this issue Feb 1, 2019
@jklenzing
Copy link
Member Author

Closed as part of #24

User Interface Improvements automation moved this from In Progress to Done Feb 1, 2019
@jklenzing jklenzing modified the milestones: Public Release, Beta Release Feb 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant