Skip to content

Commit

Permalink
flake8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahbeenie committed Nov 14, 2019
1 parent f44b339 commit aa824ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pathme/export_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def _iterate_reactome(reactome_pickle_paths, reactome_path, flatten, normalize_n
normalize_graph_names(graph, REACTOME)

_update_graph(graph, file, REACTOME)
yield REACTOME,path, graph
yield REACTOME, file, graph


def _update_graph(graph, file, database):
Expand All @@ -260,7 +260,7 @@ def _update_graph(graph, file, database):

def _munge_node_attribute(node, attribute='name'):
"""Munge node attribute."""
if node.get(attribute) == None:
if node.get(attribute) is None:
return str(node)
else:
return node.get(attribute)
Expand Down

0 comments on commit aa824ad

Please sign in to comment.