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

Abierto
#93 0 comentarios 0 reacciones 1 asignado Ver en GitHub

@alexbenedicto ya está trabajando en esto.

Desde el 14/5/2025.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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.

Lenguaje dominante
Python
Estrellas
0
Forks
1
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de GEOS-DEV/geosPythonPackages

Todos los issues de GEOS-DEV/geosPythonPackages

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.