Skip to content

Commit f4b7dc7

Browse files
Update dataretrieval/nwis.py
Co-authored-by: Timothy Hodson <34148978+thodson-usgs@users.noreply.github.com>
1 parent ade5b59 commit f4b7dc7

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

dataretrieval/nwis.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,9 @@ def get_qwdata(
138138
in the waterdata module.
139139
140140
"""
141-
return print("This function is deprecated and has been " \
142-
"replaced with `get_samples() in the " \
143-
"waterdata module. If you have questions, " \
144-
"please reach out to comptools@usgs.gov")
141+
raise NameError(
142+
"`nwis.get_qwdata` has been replaced with `waterdata.get_samples()`."
143+
)
145144

146145

147146
def get_discharge_measurements(

0 commit comments

Comments
 (0)