nastasiasnk commited on
Commit
119aa8f
·
verified ·
1 Parent(s): 39f75bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -8
app.py CHANGED
@@ -208,7 +208,7 @@ def test(input_json):
208
 
209
 
210
 
211
-
212
  LivabilitySubdomainsWeights = landusesToSubdomains(df_dm,df_lu_filtered,landuseMapperDict,subdomainsUnique)
213
 
214
  WorkplacesNumber = FindWorkplacesNumber(df_dm,livabilityMapperDict,LivabilitySubdomainsWeights,subdomainsUnique)
@@ -234,19 +234,18 @@ def test(input_json):
234
  subdomainsAccessibility_dictionary = AccessibilityInputs.to_dict('index')
235
  artmatrix = df_art_matrix.to_dict('index')
236
 
237
-
238
-
239
  LivabilitySubdomainsWeights_dictionary = LivabilitySubdomainsWeights.to_dict('index')
 
240
 
241
  # Prepare the output
242
  output = {
243
- "subdomainsAccessibility_dictionary": subdomainsAccessibility_dictionary,
244
- "livability_dictionary": livability_dictionary,
245
- "subdomainsWeights_dictionary": LivabilitySubdomainsInputs_dictionary,
246
  "luDomainMapper": landuseMapperDict,
247
  "attributeMapper": livabilityMapperDict,
248
- "fetchDm": dm_dictionary,
249
- "landuses":df_lu_filtered_dict
250
  }
251
 
252
 
 
208
 
209
 
210
 
211
+ """
212
  LivabilitySubdomainsWeights = landusesToSubdomains(df_dm,df_lu_filtered,landuseMapperDict,subdomainsUnique)
213
 
214
  WorkplacesNumber = FindWorkplacesNumber(df_dm,livabilityMapperDict,LivabilitySubdomainsWeights,subdomainsUnique)
 
234
  subdomainsAccessibility_dictionary = AccessibilityInputs.to_dict('index')
235
  artmatrix = df_art_matrix.to_dict('index')
236
 
 
 
237
  LivabilitySubdomainsWeights_dictionary = LivabilitySubdomainsWeights.to_dict('index')
238
+ """
239
 
240
  # Prepare the output
241
  output = {
242
+ # "subdomainsAccessibility_dictionary": subdomainsAccessibility_dictionary,
243
+ # "livability_dictionary": livability_dictionary,
244
+ # "subdomainsWeights_dictionary": LivabilitySubdomainsInputs_dictionary,
245
  "luDomainMapper": landuseMapperDict,
246
  "attributeMapper": livabilityMapperDict,
247
+ # "fetchDm": dm_dictionary,
248
+ # "landuses":df_lu_filtered_dict
249
  }
250
 
251