Spaces:
Sleeping
Sleeping
nastasiasnk
commited on
Commit
•
cd861c5
1
Parent(s):
1598fe9
Update app.py
Browse files
app.py
CHANGED
@@ -119,9 +119,10 @@ def test(input_json):
|
|
119 |
df_art_matrix = pd.DataFrame(art).T
|
120 |
df_art_matrix = df_art_matrix.round(0).astype(int)
|
121 |
|
|
|
122 |
if df_art_matrix.empty():
|
123 |
print("transport matrix is empty")
|
124 |
-
|
125 |
|
126 |
# create a mask based on the matrix size and ids, crop activity nodes to the mask
|
127 |
mask_connected = df_matrix.index.tolist()
|
|
|
119 |
df_art_matrix = pd.DataFrame(art).T
|
120 |
df_art_matrix = df_art_matrix.round(0).astype(int)
|
121 |
|
122 |
+
"""
|
123 |
if df_art_matrix.empty():
|
124 |
print("transport matrix is empty")
|
125 |
+
"""
|
126 |
|
127 |
# create a mask based on the matrix size and ids, crop activity nodes to the mask
|
128 |
mask_connected = df_matrix.index.tolist()
|