Skip to content
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

Quiet option to skip validity text #261

Open
latot opened this issue Dec 13, 2023 · 0 comments
Open

Quiet option to skip validity text #261

latot opened this issue Dec 13, 2023 · 0 comments
Labels
feature 🎁 Request a new feature

Comments

@latot
Copy link

latot commented Dec 13, 2023

Hi all, I think would be great a quiet option for functions like sfnetwork and as_sfnetwork, they actually have this messages:

Checking if spatial network structure is valid...
Spatial network structure is valid

Which can be helpful when we are using sfnetworks manually, but in a lib or tests do the things more complex, if we use a lot of networks to test, we end having a lot of that text all over the place.

There is an option to skip the validation, which is different to this issue, I think the best is be able to run the network validation without this messages, and if is not valid, then throw an error.

Thx!

@luukvdmeer luukvdmeer added the feature 🎁 Request a new feature label Dec 13, 2023
agila5 added a commit that referenced this issue Dec 14, 2023
The message argument can be used to silence the messages that are printed when checking the network validity.

Ref #261
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 🎁 Request a new feature
Projects
None yet
Development

No branches or pull requests

2 participants