Skip to content

Add checkers and checksuites#28

Merged
thwllms merged 7 commits into
fema-ffrd:mainfrom
BenRufenacht:main
Apr 28, 2026
Merged

Add checkers and checksuites#28
thwllms merged 7 commits into
fema-ffrd:mainfrom
BenRufenacht:main

Conversation

@BenRufenacht

Copy link
Copy Markdown
Contributor

Added erroneous cells, erroneous faces, max velocity, multi face n, iterations, peak routed, structure line enforcement, and unit system checkers. Added mesh and stability checksuites. Made all relative imports absolute for pyinstaller.

@thwllms thwllms left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@BenRufenacht great additions. Just a few q's / comments.

Comment thread rasqc/registry.py Outdated
Comment thread rasqc/checkers/erroneous_cells.py
Comment thread rasqc/checkers/hdfsync.py
from typing import List

ITER_FLAG = 1
LAST_FLAG = 10

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Would be nice to have a couple comments here explaining these defaults.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added to checker description.

from pathlib import Path
from typing import List

MAX_VEL_FLAG = 15

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Comment explaining this default?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added to checker description.

Comment thread rasqc/checkers/short_cell_faces.py
Comment thread rasqc/utils.py Outdated
@thwllms

thwllms commented Apr 28, 2026

Copy link
Copy Markdown
Contributor

One more thing -- the build is failing due to formatting checks. Run ruff format to automatically format the code for compliance. Then check tests, commit, and push again.

PS: also, you can bump the version in pyproject.toml to 0.0.7 and I'll cut a release this afternoon

@thwllms
thwllms merged commit c070adc into fema-ffrd:main Apr 28, 2026
4 checks passed
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