nastasiasnk commited on
Commit
a2eef60
1 Parent(s): 4f355f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -221,10 +221,11 @@ def test(input_json):
221
  LivabilitySubdomainsInputs_dictionary = LivabilitySubdomainsInputs.to_dict('index')
222
  subdomainsAccessibility_dictionary = subdomainsAccessibility.to_dict('index')
223
  LivabilitySubdomainsWeights_dictionary = LivabilitySubdomainsWeights.to_dict('index')
 
224
 
225
- df_lu_filtered_dict = dfLanduses.to_dict('index')
226
  dm_dictionary = dfMatrix.to_dict('index')
227
- """
228
  # Prepare the output
229
  output = {
230
  #"subdomainsAccessibility_dictionary": subdomainsAccessibility_dictionary,
@@ -233,8 +234,8 @@ def test(input_json):
233
  "luDomainMapper": landuseMapperDict,
234
  "attributeMapper": livabilityMapperDict,
235
  "mask_connected": mask_connected,
236
- "dm_an": df_dm_dict,
237
- "landuses":df_lu_filtered_dict,
238
  "constants": [alpha, threshold]
239
  }
240
 
 
221
  LivabilitySubdomainsInputs_dictionary = LivabilitySubdomainsInputs.to_dict('index')
222
  subdomainsAccessibility_dictionary = subdomainsAccessibility.to_dict('index')
223
  LivabilitySubdomainsWeights_dictionary = LivabilitySubdomainsWeights.to_dict('index')
224
+ """
225
 
226
+ df_lu_dict = dfLanduses.to_dict('index')
227
  dm_dictionary = dfMatrix.to_dict('index')
228
+
229
  # Prepare the output
230
  output = {
231
  #"subdomainsAccessibility_dictionary": subdomainsAccessibility_dictionary,
 
234
  "luDomainMapper": landuseMapperDict,
235
  "attributeMapper": livabilityMapperDict,
236
  "mask_connected": mask_connected,
237
+ "dm_an": dm_dictionary,
238
+ "landuses":df_lu_dict,
239
  "constants": [alpha, threshold]
240
  }
241