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

Skip to content

refactor(codegen): better workaround for legacy dfn format requirement#2520

Merged
wpbonelli merged 13 commits into
modflowpy:developfrom
wpbonelli:codegen
May 28, 2025
Merged

refactor(codegen): better workaround for legacy dfn format requirement#2520
wpbonelli merged 13 commits into
modflowpy:developfrom
wpbonelli:codegen

Conversation

@wpbonelli

@wpbonelli wpbonelli commented May 27, 2025

Copy link
Copy Markdown
Member

Instead of re-reading DFNs from disk in a Jinja filter, attach the legacy DFN format to the context passed into the template for now. See #2385 (comment) for why we need to do such a thing in the first place. This step will let us remove DFNs from version control, coming shortly to follow.

@codecov

codecov Bot commented May 27, 2025

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 0% with 33 lines in your changes missing coverage. Please review.

Project coverage is 55.5%. Comparing base (ff5624e) to head (74beaea).
Report is 7 commits behind head on develop.

Files with missing lines Patch % Lines
flopy/mf6/utils/codegen/__init__.py 0.0% 14 Missing ⚠️
flopy/mf6/utils/generate_classes.py 0.0% 10 Missing ⚠️
flopy/mf6/utils/codegen/filters.py 0.0% 9 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2520   +/-   ##
========================================
  Coverage     55.5%    55.5%           
========================================
  Files          644      644           
  Lines       124157   124151    -6     
========================================
+ Hits         68922    68949   +27     
+ Misses       55235    55202   -33     
Files with missing lines Coverage Δ
flopy/mf6/utils/codegen/filters.py 0.0% <0.0%> (ø)
flopy/mf6/utils/generate_classes.py 17.0% <0.0%> (-1.6%) ⬇️
flopy/mf6/utils/codegen/__init__.py 0.0% <0.0%> (ø)

... and 8 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@wpbonelli wpbonelli merged commit e949a52 into modflowpy:develop May 28, 2025
19 checks passed
@wpbonelli wpbonelli deleted the codegen branch May 28, 2025 18:29
@wpbonelli wpbonelli added this to the 3.10 milestone May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant