Skip to content

Make sure node names with blanks are quoted in Pajek export format - #3

Closed
rafguns wants to merge 1 commit into
networkx:masterfrom
rafguns:master
Closed

rafguns wants to merge 1 commit into
networkx:masterfrom
rafguns:master

Conversation

@rafguns

@rafguns rafguns commented Jul 20, 2011

Copy link
Copy Markdown
Contributor

Currently, nodes with blank spaces in their name are written "as-is" in the Pajek format. Pajek, however, requires that they are quoted.

@hagberg

hagberg commented Jul 21, 2011

Copy link
Copy Markdown
Member

Thanks for pointing this out and suggesting a fix. I added a slightly different (maybe better performance) fix at https://networkx.lanl.gov/trac/ticket/602.
Does that fix the problem correctly?

@rafguns

rafguns commented Jul 21, 2011

Copy link
Copy Markdown
Contributor Author

Yeah, that fix seems fine. Thanks!

@rafguns rafguns closed this Jul 21, 2011
hagberg added a commit that referenced this pull request Jul 20, 2013
Fix import error and typos in scc tests
hagberg pushed a commit that referenced this pull request Sep 12, 2013
ysitu pushed a commit to ysitu/networkx that referenced this pull request Apr 26, 2014
Document minimum cut criterion in individual maxflow functions
chebee7i pushed a commit that referenced this pull request Apr 21, 2015
Finish re-removal of nodes parameter.
erwanlemerrer added a commit to erwanlemerrer/networkx that referenced this pull request Jul 19, 2019
dschult pushed a commit that referenced this pull request Jul 20, 2019
* Adding non-randomness measures for graphs

* Adding doc files

* Bux fix in .rst content

* Travis bugs fixing attempt

* Travis bug: numpy import problem

* Travis bug: numpy import problem in test_non_randomness

* following Dan s comments

* following Dan s comments #2

* following Dan s comments #3
lobpcg added a commit to lobpcg/networkx that referenced this pull request Nov 7, 2023
MridulS pushed a commit that referenced this pull request Dec 5, 2023
…trations (#7040)

* Initial Create 3d_rotation_anime.py

Check how it appears in the docs

* remove text 3d_rotation_anime.py

[skip active]

* complete image_segmentation_spectral_graph_partiion.py.py

* plot directly image_segmentation_spectral_graph_partiion.py.py

* format + sample known plot image_segmentation_spectral_graph_partiion.py.py

* errors fixed image_segmentation_spectral_graph_partiion.py.py

* Rename image_segmentation_spectral_graph_partiion.py.py to plot_image_segmentation_spectral_graph_partiion.py.py

* sklearn>=1.2 example.txt

* sklearn>=1.3.1 example.txt

* scikit-learn>=1.3.1 example.txt

* error sc name plot_image_segmentation_spectral_graph_partiion.py.py

* error + enumerate plot_image_segmentation_spectral_graph_partiion.py.py

* last enumerate plot_image_segmentation_spectral_graph_partiion.py.py

* matplotlib 3.8.0 example.txt

* minor plot_image_segmentation_spectral_graph_partiion.py.py

* color=tuple(X[i] / 255)  plot_image_segmentation_spectral_graph_partiion.py.py

matplotlib/matplotlib#26821

* error, style, comments plot_image_segmentation_spectral_graph_partiion.py.py

* remove matplotlib example.txt

* added Plot the RGB dataset as an image.

* style/comment edits plot_image_segmentation_spectral_graph_partiion.py.py

* lint " plot_image_segmentation_spectral_graph_partiion.py.py

* thumbnail #3 plot_image_segmentation_spectral_graph_partiion.py.py

* move to Algorithms plot_image_segmentation_spectral_graph_partiion.py

* Delete examples/3d_drawing/plot_image_segmentation_spectral_graph_partiion.py.py

* data animation added plot_image_segmentation_spectral_graph_partiion.py

* anime fix + lint plot_image_segmentation_spectral_graph_partiion.py

* add graph animation plot_image_segmentation_spectral_graph_partiion.py
padath314 pushed a commit to padath314/networkx that referenced this pull request Dec 5, 2023
…trations (networkx#7040)

* Initial Create 3d_rotation_anime.py

Check how it appears in the docs

* remove text 3d_rotation_anime.py

[skip active]

* complete image_segmentation_spectral_graph_partiion.py.py

* plot directly image_segmentation_spectral_graph_partiion.py.py

* format + sample known plot image_segmentation_spectral_graph_partiion.py.py

* errors fixed image_segmentation_spectral_graph_partiion.py.py

* Rename image_segmentation_spectral_graph_partiion.py.py to plot_image_segmentation_spectral_graph_partiion.py.py

* sklearn>=1.2 example.txt

* sklearn>=1.3.1 example.txt

* scikit-learn>=1.3.1 example.txt

* error sc name plot_image_segmentation_spectral_graph_partiion.py.py

* error + enumerate plot_image_segmentation_spectral_graph_partiion.py.py

* last enumerate plot_image_segmentation_spectral_graph_partiion.py.py

* matplotlib 3.8.0 example.txt

* minor plot_image_segmentation_spectral_graph_partiion.py.py

* color=tuple(X[i] / 255)  plot_image_segmentation_spectral_graph_partiion.py.py

matplotlib/matplotlib#26821

* error, style, comments plot_image_segmentation_spectral_graph_partiion.py.py

* remove matplotlib example.txt

* added Plot the RGB dataset as an image.

* style/comment edits plot_image_segmentation_spectral_graph_partiion.py.py

* lint " plot_image_segmentation_spectral_graph_partiion.py.py

* thumbnail networkx#3 plot_image_segmentation_spectral_graph_partiion.py.py

* move to Algorithms plot_image_segmentation_spectral_graph_partiion.py

* Delete examples/3d_drawing/plot_image_segmentation_spectral_graph_partiion.py.py

* data animation added plot_image_segmentation_spectral_graph_partiion.py

* anime fix + lint plot_image_segmentation_spectral_graph_partiion.py

* add graph animation plot_image_segmentation_spectral_graph_partiion.py
cvanelteren pushed a commit to cvanelteren/networkx that referenced this pull request Apr 22, 2024
…trations (networkx#7040)

* Initial Create 3d_rotation_anime.py

Check how it appears in the docs

* remove text 3d_rotation_anime.py

[skip active]

* complete image_segmentation_spectral_graph_partiion.py.py

* plot directly image_segmentation_spectral_graph_partiion.py.py

* format + sample known plot image_segmentation_spectral_graph_partiion.py.py

* errors fixed image_segmentation_spectral_graph_partiion.py.py

* Rename image_segmentation_spectral_graph_partiion.py.py to plot_image_segmentation_spectral_graph_partiion.py.py

* sklearn>=1.2 example.txt

* sklearn>=1.3.1 example.txt

* scikit-learn>=1.3.1 example.txt

* error sc name plot_image_segmentation_spectral_graph_partiion.py.py

* error + enumerate plot_image_segmentation_spectral_graph_partiion.py.py

* last enumerate plot_image_segmentation_spectral_graph_partiion.py.py

* matplotlib 3.8.0 example.txt

* minor plot_image_segmentation_spectral_graph_partiion.py.py

* color=tuple(X[i] / 255)  plot_image_segmentation_spectral_graph_partiion.py.py

matplotlib/matplotlib#26821

* error, style, comments plot_image_segmentation_spectral_graph_partiion.py.py

* remove matplotlib example.txt

* added Plot the RGB dataset as an image.

* style/comment edits plot_image_segmentation_spectral_graph_partiion.py.py

* lint " plot_image_segmentation_spectral_graph_partiion.py.py

* thumbnail networkx#3 plot_image_segmentation_spectral_graph_partiion.py.py

* move to Algorithms plot_image_segmentation_spectral_graph_partiion.py

* Delete examples/3d_drawing/plot_image_segmentation_spectral_graph_partiion.py.py

* data animation added plot_image_segmentation_spectral_graph_partiion.py

* anime fix + lint plot_image_segmentation_spectral_graph_partiion.py

* add graph animation plot_image_segmentation_spectral_graph_partiion.py
joyshmitz referenced this pull request in joyshmitz/networkx Apr 2, 2026
…ators

Annex activation (#3):
- Reads annex specs, checks applies_when conditions against requirements
- Warns when annex should be active but data absent
- Supports both simple {field_id, equals} and {any_of} activation rules
- sample_01 now shows 3 annex warnings (cctv, ha, time)

Cross-graph consistency (#4):
- Service graph zone nodes must exist in logical graph
- Interface graph consumers must match enabled services
- LOCAL_ARCHIVE and askoe exempted from zone/service checks

120 tests passing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants