Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix issue with InnerTemopralGraph implementation and impl load from p… #1543

Merged
merged 16 commits into from
Mar 27, 2024
Merged
36 changes: 18 additions & 18 deletions examples/python/socio-patterns/example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,13 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 4,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "403066159ad9474393afeac04fcb8cd7",
"model_id": "16de15732c834eafb018c88c0b052c00",
"version_major": 2,
"version_minor": 0
},
Expand All @@ -131,7 +131,7 @@
" dst=\"Recipient\",\n",
" time=\"DateTime\",\n",
" layer=\"Behavior\",\n",
" props=[\"Weight\"],\n",
" properties=[\"Weight\"],\n",
")\n",
"print(g)"
]
Expand All @@ -149,7 +149,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 5,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -213,7 +213,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 6,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -263,7 +263,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 7,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -307,7 +307,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 8,
"metadata": {
"scrolled": true
},
Expand Down Expand Up @@ -361,7 +361,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 9,
"metadata": {
"scrolled": true
},
Expand Down Expand Up @@ -435,7 +435,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 10,
"metadata": {
"scrolled": true
},
Expand Down Expand Up @@ -485,7 +485,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 11,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -547,7 +547,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 12,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -601,7 +601,7 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": 13,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -646,7 +646,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 14,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -701,7 +701,7 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 15,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -759,7 +759,7 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": 16,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -801,7 +801,7 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 17,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -848,7 +848,7 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": 18,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -898,7 +898,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.2"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down
12 changes: 6 additions & 6 deletions python/tests/test_graph_conversions.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ def build_graph():
edge_src="source",
edge_dst="destination",
edge_time="timestamp",
edge_props=["data_size_MB"],
edge_properties=["data_size_MB"],
edge_layer="transaction_type",
edge_const_props=["is_encrypted"],
edge_shared_const_props={"datasource": "data/network_traffic_edges.csv"},
edge_const_properties=["is_encrypted"],
edge_shared_const_properties={"datasource": "data/network_traffic_edges.csv"},
node_df=nodes_df,
node_id="server_id",
node_time="timestamp",
node_props=["OS_version", "primary_function", "uptime_days"],
node_const_props=["server_name", "hardware_type"],
node_shared_const_props={"datasource": "data/network_traffic_edges.csv"},
node_properties=["OS_version", "primary_function", "uptime_days"],
node_const_properties=["server_name", "hardware_type"],
node_shared_const_properties={"datasource": "data/network_traffic_edges.csv"},
)


Expand Down
Loading
Loading