python-igraph icon indicating copy to clipboard operation
python-igraph copied to clipboard

Warning formatting is not nice

Open szhorvat opened this issue 4 months ago • 0 comments

Describe the bug

The formatting of warnings does not play well with the punctuation standard we use in the C core (i.e. that all warning messages should end in a fullstop or other relevant punctuation).

To reproduce

ig.Graph(n=5).hub_score()
RuntimeWarning: Hub and authority scores requested for undirected graph. These are the same as eigenvector centralities. at /centrality/hub_authority.c:297

Notice the fullstop before "at".

Easy solution: Capitalize the "at" as "At".

Version information

Current develop.

szhorvat avatar Jun 22 '25 13:06 szhorvat