Update app.py
Browse files
app.py
CHANGED
@@ -28,6 +28,11 @@ import matplotlib.pyplot as plt
|
|
28 |
import networkx as nx
|
29 |
import pandas as pd
|
30 |
|
|
|
|
|
|
|
|
|
|
|
31 |
|
32 |
@dataclass
|
33 |
class Algorithm:
|
@@ -70,11 +75,6 @@ class Algorithm:
|
|
70 |
return args
|
71 |
|
72 |
|
73 |
-
if 'MCL_BIN' in os.environ and os.path.isfile(os.environ['MCL_BIN']) and os.access(os.environ['MCL_BIN'], os.X_OK):
|
74 |
-
MCL: Optional[str] = os.environ['MCL_BIN']
|
75 |
-
else:
|
76 |
-
MCL = None
|
77 |
-
|
78 |
ALGORITHMS: Dict[str, Algorithm] = {
|
79 |
'CW_top': Algorithm('cw', 'top'),
|
80 |
'CW_lin': Algorithm('cw', 'lin'),
|
|
|
28 |
import networkx as nx
|
29 |
import pandas as pd
|
30 |
|
31 |
+
if 'MCL_BIN' in os.environ and os.path.isfile(os.environ['MCL_BIN']) and os.access(os.environ['MCL_BIN'], os.X_OK):
|
32 |
+
MCL: Optional[str] = os.environ['MCL_BIN']
|
33 |
+
else:
|
34 |
+
MCL = None
|
35 |
+
|
36 |
|
37 |
@dataclass
|
38 |
class Algorithm:
|
|
|
75 |
return args
|
76 |
|
77 |
|
|
|
|
|
|
|
|
|
|
|
78 |
ALGORITHMS: Dict[str, Algorithm] = {
|
79 |
'CW_top': Algorithm('cw', 'top'),
|
80 |
'CW_lin': Algorithm('cw', 'lin'),
|