Skip to content

changed bug-causing filter arg to bbox_filter in load_nhdplus_hr#212

Open
jknightusgs wants to merge 2 commits intoDOI-USGS:developfrom
jknightusgs:bug-fix-load_nhdplus_hr-filter-arg
Open

changed bug-causing filter arg to bbox_filter in load_nhdplus_hr#212
jknightusgs wants to merge 2 commits intoDOI-USGS:developfrom
jknightusgs:bug-fix-load_nhdplus_hr-filter-arg

Conversation

@jknightusgs
Copy link
Copy Markdown

I modified a single line in nhdplus_utils.py where the function load_nhdplus_hr() makes a call to the function read_nhdplus_hr() using the deprecated "filter" argument instead of the updated "bbox_filter" argument. This only causes a bug when NHDPlusHR_paths is provided as a string or path. When provided as a list, the call to read_nhdplus_hr() uses the updated bbox_filter arg.

I'm just getting my feet wet learning how to contribute to existing code repositories, and this seemed like a simple case to try it out. Hopefully the steps I followed from a rudimentary google search were sufficient, and this is more helpful than burdensome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant