diff --git a/adbnx_adapter/adapter.py b/adbnx_adapter/adapter.py index f68fb21e..f9b21e84 100644 --- a/adbnx_adapter/adapter.py +++ b/adbnx_adapter/adapter.py @@ -322,7 +322,7 @@ def networkx_to_arangodb( else self.__cntrl._identify_networkx_node(nx_id, nx_node, adb_v_cols) ) - if col not in adb_v_cols: + if not has_one_vcol and col not in adb_v_cols: msg = f"'{nx_id}' identified as '{col}', which is not in {adb_v_cols}" raise ValueError(msg) @@ -373,7 +373,7 @@ def networkx_to_arangodb( ) ) - if col not in adb_e_cols: + if not has_one_ecol and col not in adb_e_cols: msg = f"{edge_str} identified as '{col}', which is not in {adb_e_cols}" raise ValueError(msg)