Skip to content

Commit

Permalink
Merge commit '9bbcf0134283566afef8dc39367f098b406c214a' into fix/top-…
Browse files Browse the repository at this point in the history
…import
  • Loading branch information
peterdudfield committed Feb 23, 2024
2 parents 4fce632 + 9bbcf01 commit 8d25def
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ocf_datapipes/training/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@

try:
from ocf_datapipes.load import OpenTopography

# Rioxarray is sometimes a pain to install, so only load this if its installed
except ImportError:
print("Could not import OpenTopography,"
" this is probably becasye Rioxarray is not installed.")
print(

Check warning on line 31 in ocf_datapipes/training/common.py

View check run for this annotation

Codecov / codecov/patch

ocf_datapipes/training/common.py#L30-L31

Added lines #L30 - L31 were not covered by tests
"Could not import OpenTopography," " this is probably becasye Rioxarray is not installed."
)
pass

Check warning on line 34 in ocf_datapipes/training/common.py

View check run for this annotation

Codecov / codecov/patch

ocf_datapipes/training/common.py#L34

Added line #L34 was not covered by tests


Expand Down

0 comments on commit 8d25def

Please sign in to comment.