-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add warning when user sets a tag instead of a distinct geometry path #119
Add warning when user sets a tag instead of a distinct geometry path #119
Conversation
This is a great addition! I'm just not sure if this is the correct place for this. The function in which you test the path itself calls One could also use the variable As a minor suggestion, the warning message could also be extended to something like this to make it fully clear? Btw. is there a reason not to make an error out of this? Is there any plausible reason |
I cannot move this check to
I agree that one could put it into
I would argue that it would break many existing configs due to the fact, that e.g. for a VTK appearance definition one would often times be lazy and only supply the tag for which the appearance should be applied. An ambiguous definition there, would not cause any harm. Therefore, a warning should suffice I'd say. |
Update: I get now what you mean with your first point! That's much better and I implemented it in the latest commit |
This warning informs users about a possible configuration mistake --> See #118.