mesh-doctor error message is not explicit when using invalid command line

Open
#93 0 comments 0 reactions 1 assignee View on GitHub

@alexbenedicto is already working on this.

Since May 14, 2025.

Assessment

This issue has not been assessed yet.

Description

type: feature

When trying to use mesh-doctor, a frequent misunderstanding can be that you just need to call mesh-doctor by itself on your mesh to use it like the following:

mesh-doctor -i my_mesh.vtu

This is incorrect because you always need to specify which feature to call after your input like the following:

mesh-doctor -i my_mesh.vtu element_volumes --min 0.0

The error message when forgetting the call to the feature is not explicit at all and needs to be handled correctly, with a similar message as

mesh-doctor needs to be provided with the feature to be used amongst the current ones available : {collocated_nodes,element_volumes,...}
An example following your command could be mesh-doctor -i my_mesh.vtu element_volumes --min 0.0

The same error handling can be done with missing input file and missing keywords for the feature.

Dominant language
Python
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GEOS-DEV/geosPythonPackages

All issues in GEOS-DEV/geosPythonPackages

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.