Skip to content

MAINT: fixups to parse_edgelist. - #4128

Merged
jarrodmillman merged 1 commit into
networkx:masterfrom
rossbar:maint/parse_edgelist
Aug 11, 2020
Merged

jarrodmillman merged 1 commit into
networkx:masterfrom
rossbar:maint/parse_edgelist

Conversation

@rossbar

@rossbar rossbar commented Aug 4, 2020

Copy link
Copy Markdown
Contributor

Some minor maintenance to parse_edgelist originating from review of #4125. This will cause merge conflicts with #4125, which should have higher priority. Changes include:

  • Catch Exception rather than BaseException
  • Add default values to docstring
  • Fix poorly-formatted f-strings.

 * Catch Exception rather than BaseException
 * Add default values to docstring
 * Fix poorly-formatted f-strings.
@rossbar
rossbar force-pushed the maint/parse_edgelist branch from d61316a to b268413 Compare August 7, 2020 17:54

@dschult dschult left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me! All ready to merge.

I do notice that black seems to have put some strings on the same line without removing the
connecting double quotes. Good catch there to remove them. I don't know how prevalent that is, but I now know to look for " f" as I'm scanning files.

@jarrodmillman jarrodmillman added this to the networkx-2.5 milestone Aug 11, 2020
@jarrodmillman
jarrodmillman merged commit 20a3357 into networkx:master Aug 11, 2020
jarrodmillman added a commit to mbruhns/networkx that referenced this pull request Aug 11, 2020
* upstream/master:
  Update apt-get on circleci image (networkx#4147)
  MAINT: fixups to parse_edgelist. (networkx#4128)
  Use dict instead of OrderedDict since dict is ordered by default from Python 3.6. (networkx#4145)
  MAINT: Switch to abc-based isinstance checks in to_networkx_graph (networkx#4136)
  Add tree isomorphism (networkx#4067)
  Updated draw_networkx to accept numpy array for edgelist (networkx#4132)
  CI: temporary fix for CI latex installation issues (networkx#4131)
  Fix parse_edgelist behavior with multiple attributes (networkx#4125)
@rossbar
rossbar deleted the maint/parse_edgelist branch February 27, 2021 05:05
MridulS pushed a commit to MridulS/networkx that referenced this pull request Feb 4, 2023
* Catch Exception rather than BaseException
 * Add default values to docstring
 * Fix poorly-formatted f-strings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants