File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ def get_data(self,
148148 >>> et.data.get_data(url=url) # doctest: +SKIP
149149
150150 """
151-
151+
152152 if (key is not None ) + (url is not None ) + (title is not None ) > 1 :
153153 raise ValueError (
154154 "The `key`, `url`, and `title` parameters are mutually "
@@ -170,7 +170,7 @@ def get_data(self,
170170 "Key '" + key + "' not found in earthpy.io.DATA_URLS. "
171171 "Choose one of: {}" .format (pretty_keys )
172172 )
173-
173+ self . path /= key
174174 this_data = DATA_URLS [key ]
175175
176176 if title is not None :
@@ -225,9 +225,7 @@ def get_data(self,
225225 this_data = [this_data ]
226226
227227 data_paths = []
228- print (this_data )
229228 for url , name , kind in this_data :
230- print (name )
231229
232230 if kind not in ALLOWED_FILE_TYPES :
233231 raise ValueError (
You can’t perform that action at this time.
0 commit comments