Skip to content

Commit

Permalink
enhance its_extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
TieuLongPhan committed Dec 9, 2024
1 parent a54d97d commit 7316200
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions syntemp/SynITS/its_extraction.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from copy import copy
import networkx as nx
from operator import eq
from copy import deepcopy
from joblib import Parallel, delayed
from typing import Dict, List, Tuple
from networkx.algorithms.isomorphism import generic_node_match, generic_edge_match
Expand Down Expand Up @@ -155,8 +155,8 @@ def process_mapped_smiles(
else:
equivariant = -1
graphs_by_map["equivariant"] = equivariant
graphs_by_map_correct = deepcopy(graphs_by_map)
graphs_by_map_incorrect = deepcopy(graphs_by_map)
graphs_by_map_correct = copy(graphs_by_map)
graphs_by_map_incorrect = copy(graphs_by_map)
is_empty_graph_present = any(
(not isinstance(graph, nx.Graph) or graph.number_of_nodes() == 0)
for graph in rules_graphs
Expand Down

0 comments on commit 7316200

Please sign in to comment.