Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(cvfdutil): fix skip_hanging_node_check#2423

Merged
wpbonelli merged 2 commits into
modflowpy:developfrom
oscarfasanchez:develop
Jan 21, 2025
Merged

fix(cvfdutil): fix skip_hanging_node_check#2423
wpbonelli merged 2 commits into
modflowpy:developfrom
oscarfasanchez:develop

Conversation

@oscarfasanchez

@oscarfasanchez oscarfasanchez commented Jan 21, 2025

Copy link
Copy Markdown
Contributor

vertexdict_keys was put out of the if condition skip_hanging_node_check, to avoid failure if the check is not necessary on some grids
Related to issue #2321

@wpbonelli wpbonelli left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @oscarfasanchez I moved the vertexdict_keys assignment above the conditional since it's needed both within it and below.

Not sure why the check might hang indefinitely in your use case. Can you send us the script to reproduce it? Presumably that while loop is never exited.

@wpbonelli wpbonelli changed the title cvdutil fix for skip_hanging_node_check fix(cvdutil): fix skip_hanging_node_check Jan 21, 2025
@wpbonelli wpbonelli changed the title fix(cvdutil): fix skip_hanging_node_check fix(cvfdutil): fix skip_hanging_node_check Jan 21, 2025
@codecov

codecov Bot commented Jan 21, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.3%. Comparing base (bb9824e) to head (17c7c98).
Report is 38 commits behind head on develop.

Additional details and impacted files
@@            Coverage Diff            @@
##           develop   #2423     +/-   ##
=========================================
+ Coverage     68.4%   76.3%   +7.8%     
=========================================
  Files          294     294             
  Lines        59390   59855    +465     
=========================================
+ Hits         40652   45690   +5038     
+ Misses       18738   14165   -4573     
Files with missing lines Coverage Δ
flopy/utils/cvfdutil.py 82.5% <100.0%> (ø)

... and 247 files with indirect coverage changes

@wpbonelli wpbonelli merged commit f9da244 into modflowpy:develop Jan 21, 2025
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.

2 participants