nastasiasnk commited on
Commit
27ce356
1 Parent(s): 27a5aed

Update imports_utils.py

Browse files
Files changed (1) hide show
  1. imports_utils.py +1 -32
imports_utils.py CHANGED
@@ -31,7 +31,7 @@ from specklepy.objects import Base
31
  import numpy as np
32
  import pandas as pd
33
  import matplotlib.pyplot as plt
34
- import seaborn as sns
35
  import math
36
  import matplotlib
37
  from google.colab import files
@@ -138,37 +138,6 @@ def get_page_by_id(notion_db_pages, page_id):
138
 
139
 
140
 
141
-
142
- """
143
- # define variables
144
-
145
- # MAIN DISTANCE MATRIX
146
- branch_name_dm = "graph_geometry/distance_matrix"
147
- commit_id_dm = "cfde6f4ba4" # ebcfc50abe/commits/cfde6f4ba4
148
- dm_activityNodes = "activity_node+distance_matrix_ped_mm_noEntr"
149
- dm_transportStops = "an_stations+distance_matrix_ped_mm_art_noEntr"
150
-
151
- # LAND USE ATTRIBUTES
152
- branch_name_lu = "graph_geometry/activity_nodes_with_land_use"
153
- commit_id_lu = "13ae6cdd30"
154
-
155
-
156
- # LIVABILITY DOMAINS ATTRIBUTES
157
- notion_lu_domains = "407c2fce664f4dde8940bb416780a86d"
158
- notion_domain_attributes = "01401b78420f4296a2449f587d4ed9c9"
159
-
160
-
161
-
162
- #def streamNotionDatabases (notionToken, landuseDatabaseId, subdomainAttributesDatabaseId):
163
- if notionToken:
164
- notion = client_notion(auth=userdata.get(notionToken))
165
- lu_attributes = fetch_all_database_pages(notion, landuseDatabaseId)
166
- livability_attributes = fetch_all_database_pages(notion, subdomainAttributesDatabaseId)
167
- else:
168
- print ("Notion token is not provided")
169
- """
170
-
171
-
172
  def streamMatrices (speckleToken, stream_id, branch_name_dm, commit_id):
173
  CLIENT = SpeckleClient(host="https://speckle.xyz/")
174
  CLIENT.authenticate_with_token(token=userdata.get(speckleToken))
 
31
  import numpy as np
32
  import pandas as pd
33
  import matplotlib.pyplot as plt
34
+ #import seaborn as sns
35
  import math
36
  import matplotlib
37
  from google.colab import files
 
138
 
139
 
140
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
141
  def streamMatrices (speckleToken, stream_id, branch_name_dm, commit_id):
142
  CLIENT = SpeckleClient(host="https://speckle.xyz/")
143
  CLIENT.authenticate_with_token(token=userdata.get(speckleToken))