Skip to content

Commit 014561d

Browse files
committed
Minor updates to the cache data workflow file
1 parent ca8973b commit 014561d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/cache_data.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
with:
8181
name: gmt-cache
8282
path: |
83-
~/.gmt/cache
84-
~/.gmt/server
85-
~/.gmt/gmt_data_server.txt
86-
~/.gmt/gmt_hash_server.txt
83+
~/.gmt/cache
84+
~/.gmt/server
85+
~/.gmt/gmt_data_server.txt
86+
~/.gmt/gmt_hash_server.txt

pygmt/datatypes/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def to_strings(self) -> np.ndarray[Any, np.dtype[np.str_]]:
161161
"The trailing text column contains `None' values, "
162162
"likely due to upstream GMT API bug. Please consider reporting to us."
163163
)
164-
raise warnings.warn(msg, stacklevel=2)
164+
warnings.warn(msg, stacklevel=2)
165165
textvector = np.where(textvector == None, b"", textvector) # noqa: E711
166166
return np.char.decode(textvector) if textvector else np.array([], dtype=str)
167167

0 commit comments

Comments
 (0)