Skip to content

Commit

Permalink
run back to lint file
Browse files Browse the repository at this point in the history
  • Loading branch information
pwrose authored and marimeireles committed Apr 21, 2021
1 parent 940a292 commit 49c63a4
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions ipycytoscape/cytoscape.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,20 +598,20 @@ def add_graph_from_df(
self.add_edges(graph_edges, directed, multiple_edges)
self.add_nodes(all_nodes)

# @staticmethod
# def convert_neo4j_types(node_attributes):
# """
# Converts types not compatible with cytoscape to strings.
#
# Parameters
# ----------
# node_attributes : dictionary of node attributes
# """
# for k, v in node_attributes.items():
# if isinstance(v, neotime.Date):
# node_attributes[k] = str(v)
#
# return node_attributes
# @staticmethod
# def convert_neo4j_types(node_attributes):
# """
# Converts types not compatible with cytoscape to strings.
#
# Parameters
# ----------
# node_attributes : dictionary of node attributes
# """
# for k, v in node_attributes.items():
# if isinstance(v, neotime.Date):
# node_attributes[k] = str(v)
#
# return node_attributes

@staticmethod
def get_node_labels_by_priority(g):
Expand Down

0 comments on commit 49c63a4

Please sign in to comment.