Dateien nach "mod/butadien" hochladen

This commit is contained in:
2026-09-02 09:46:25 +02:00
parent 0b37dc59fd
commit f55799c1cd
2 changed files with 2 additions and 152 deletions
+2
View File
@@ -20,6 +20,8 @@ with open('014_dg_0_11100.dot', 'r') as file:
educt = re.findall("(?<= ')(.*?)(?=' )", educts)
products = re.findall("(?<='r_\\{[0-1]\\}', \\{)(.*?)(?=\\ })", edge)[0]
product = re.findall("(?<= ')(.*?)(?=')", products)
if product == educt:
continue
HYPERGRAPH[index] = (educt, product)
for outflow in re.findall("// id = [0-9]+, graphName = [A-Za-z0-9_,\\{\\} ']+", graph):
index = int(re.findall("(?<=id = )(.*?)(?=,)", outflow)[0])