-
Notifications
You must be signed in to change notification settings - Fork 134
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
There seems to be a bug in the comparison of the Gridded/run_*/CHANOBS files: some of the files are not found. #64
Comments
I believe this is the cause: This logic is responsible for the
I believe whats happening is that there is a diff but in a file that is not one of the first 5 in the list. We can resolve this by stripping all None values out of the list prior to the print statements |
This I believe would fix it, will submit a PR with it when I have a chance if all(v is None for v in chanobs_diffs):
has_diffs = False
else:
has_diffs = True
only_diffs = [the_diff for the_diff in chanobs_diffs if the_diff is not None]
for the_diff in only_diffs[0:5]:
with capsys.disabled():
print(the_diff) |
This has been resolved as part of the testing refactor but I did not close with PR as I should have. Closing now |
RTD dependencies
https://travis-ci.com/NCAR/wrf_hydro_nwm/builds/74928143#L583
"None, None, None, None, None"
Expected Behavior
It should find the files, they are there. Running tests/take_test.sh on this PR will reveal the issue.
Current Behavior
It dosent find the files.
The text was updated successfully, but these errors were encountered: