Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(prp): fix removal version of fraction option #2126

Merged
merged 6 commits into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codespellrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[codespell]
skip = *.pdf,*.grb,*.bib,*.bst,*.log,./builddir,./src/Utilities/Libraries,./utils/mf5to6,./doc/ReleaseNotes/previous
skip = *.pdf,*.grb,*.bib,*.bst,*.log,./builddir,./src/Utilities/Libraries,./utils/mf5to6,./doc/ReleaseNotes/previous,pixi.*
ignore-words = .codespell.ignore
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
run: pixi run check-python-format

- name: Check CITATION.cff
uses: dieghernan/cff-validator@v3
run: pixi run check-citations

build:
name: Build
Expand Down
2 changes: 1 addition & 1 deletion doc/mf6io/mf6ivar/dfn/prt-prp.dfn
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,6 @@ tagged true
in_record true
reader urword
optional true
removed 6.5.1
removed 6.6.0
longname
description release particles after the specified fraction of the time step has elapsed. If FRACTION is not set, particles are released at the start of the specified time step(s). FRACTION must be a single value when used with ALL, FIRST, or FREQUENCY. When used with STEPS, FRACTION may be a single value or an array of the same length as STEPS. If a single FRACTION value is provided with STEPS, the fraction applies to all steps. NOTE: The FRACTION option has been removed. For fine control over release timing, specify times explicitly using the RELEASETIMES block.
5 changes: 5 additions & 0 deletions doc/mf6io/mf6ivar/mf6ivar.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,11 @@ def write_desc(vardict, block, blk_var_list, varexcludeprefix=None):
# s += '\\begin{verbatim}\n'
s += "\\begin{lstlisting}[style=blockdefinition]\n"
for vn in t.strip().split()[1:]:
if (
"removed" in vardict[(vn, block)]
or "deprecated" in vardict[(vn, block)]
):
continue
blockentry = block_entry(vn, block, vardict, "")
s += f"{blockentry}\n"
# s += '\\end{verbatim}\n\n'
Expand Down
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ channels:
dependencies:
- python>=3.9
- appdirs
- cffconvert
- codespell
- filelock
- flaky
Expand Down
60,417 changes: 25,654 additions & 34,763 deletions pixi.lock

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ version = "6.7.0.dev0"

[dependencies]
appdirs = "*"
cffconvert = "*"
codespell = "*"
filelock = "*"
flaky = "*"
Expand Down Expand Up @@ -109,6 +110,7 @@ build-dist = { cmd = "python build_dist.py", cwd = "distribution" }
test-dist-scripts = { cmd = "pytest -v --durations 0", cwd = "distribution" }
update-version = { cmd = "python update_version.py", cwd = "distribution" }
deprecations = { cmd = "python deprecations.py", cwd = "doc/mf6io/mf6ivar" }
check-citations = "cffconvert --validate -i CITATION.cff"

[feature.rtd.tasks]
sphinx = { cmd = "make html", cwd = ".build_rtd_docs" }
Expand Down
Loading