Skip to content

Commit

Permalink
#150 provided placeholder for the graph-name for the sake of launching
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolay-r committed Jul 13, 2024
1 parent 9ebd1b9 commit d2a9db1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions arelight/pipelines/items/backend_d3js_graphs.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def apply_core(self, input_data, pipeline_ctx):
labels = list(map(lambda item: labels_fmt.label_to_str(labels_scaler.uint_to_label(item)), uint_labels_iter))

graph = make_graph_from_relations_array(
graph_name="UNKNOWN_GRAPH_NAME",
relations=self.__iter_relations(samples=samples,
labels=labels,
labels_filter_func=self.__graph_label_filter,
Expand Down
2 changes: 2 additions & 0 deletions test/test_backend_d3js_graphs.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def test(self):
relations.append([source, target, label])

graph = make_graph_from_relations_array(
graph_name="UNKNOWN_GRAPH_NAME",
relations=relations[10:],
entity_values=[item.split(',') for item in data_single_type["entity_values"]],
entity_types=[item.split(',') for item in data_single_type["entity_types"]],
Expand All @@ -54,6 +55,7 @@ def test(self):
)

graph2 = make_graph_from_relations_array(
graph_name="UNKNOWN_GRAPH_NAME",
relations=relations[:10],
entity_values=[item.split(',') for item in data_single_type["entity_values"]],
entity_types=[item.split(',') for item in data_single_type["entity_types"]],
Expand Down

0 comments on commit d2a9db1

Please sign in to comment.