There was an error while loading. Please reload this page.
2 parents b02fde4 + b796621 commit 645eabaCopy full SHA for 645eaba
1 file changed
opendrift/models/basemodel/environment.py
@@ -254,6 +254,7 @@ def add_readers_from_list(self,
254
255
if isinstance(urls, str):
256
urls = [urls]
257
+ urls = [u.strip() for u in urls] # strip whitespace
258
if lazy is True:
259
from opendrift.readers.reader_lazy import Reader
260
readers = [Reader(u) for u in urls]
0 commit comments