nastasiasnk commited on
Commit
681efb6
1 Parent(s): 6400777

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -108,11 +108,13 @@ def test(input_json):
108
  livability_score = remap(subdomainsAccessibility[key], 0, threshold, 0, max_livability)
109
  livability.loc[subdomainsAccessibility[key] >= threshold, key] = max_livability
110
  livability.loc[subdomainsAccessibility[key] < threshold, key] = livability_score
 
 
111
  if any(domain):
112
  for item in domain:
113
  livability.loc[subdomainsAccessibility[key] >= threshold, domain] += max_livability
114
  livability.loc[subdomainsAccessibility[key] < threshold, domain] += livability_score
115
-
116
  return livability
117
 
118
 
 
108
  livability_score = remap(subdomainsAccessibility[key], 0, threshold, 0, max_livability)
109
  livability.loc[subdomainsAccessibility[key] >= threshold, key] = max_livability
110
  livability.loc[subdomainsAccessibility[key] < threshold, key] = livability_score
111
+
112
+ """
113
  if any(domain):
114
  for item in domain:
115
  livability.loc[subdomainsAccessibility[key] >= threshold, domain] += max_livability
116
  livability.loc[subdomainsAccessibility[key] < threshold, domain] += livability_score
117
+ """
118
  return livability
119
 
120