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

Aperta
#93 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@alexbenedicto ci sta già lavorando.

Dal 14/5/2025.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.

Lingua principale
Python
Stelle
0
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di GEOS-DEV/geosPythonPackages

Tutte le issue di GEOS-DEV/geosPythonPackages

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.