nastasiasnk commited on
Commit
e0bd5ea
1 Parent(s): 612770d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -62,17 +62,13 @@ if speckleToken is None:
62
  else:
63
  print("Speckle token found successfully!")
64
 
65
- if useSpeckleData:
66
 
67
  CLIENT = SpeckleClient(host="https://speckle.xyz/")
68
  account = get_default_account()
69
  CLIENT.authenticate_with_token(token=speckleToken)
70
 
71
- landuses, matrices = getDataFromSpeckle(
72
- speckleToken,
73
- streamId,
74
- dmBranchName,
75
- luBranchName)
76
 
77
  #streamDistanceMatrices = speckle_utils.getSpeckleStream(streamId,dmBranchName,CLIENT, dmCommitId)
78
  #matrices = fetchDistanceMatrices (streamDistanceMatrices)
 
62
  else:
63
  print("Speckle token found successfully!")
64
 
65
+ if useSpeckleData == True:
66
 
67
  CLIENT = SpeckleClient(host="https://speckle.xyz/")
68
  account = get_default_account()
69
  CLIENT.authenticate_with_token(token=speckleToken)
70
 
71
+ landuses, matrices = getDataFromSpeckle(speckleToken,streamId,dmBranchName, luBranchName)
 
 
 
 
72
 
73
  #streamDistanceMatrices = speckle_utils.getSpeckleStream(streamId,dmBranchName,CLIENT, dmCommitId)
74
  #matrices = fetchDistanceMatrices (streamDistanceMatrices)