Skip to content

Commit 0093c09

Browse files
Merge branch 'mg/sps' of https://github.com/TileDB-Inc/TileDB-PyBabylonJS into mg/sps
2 parents 99fd995 + 3436adb commit 0093c09

File tree

6 files changed

+2024
-2453
lines changed

6 files changed

+2024
-2453
lines changed

azure-pipelines.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ stages:
1313
strategy:
1414
matrix:
1515
mac_38:
16-
imageName: 'macOS-10.15'
16+
imageName: 'macOS-12'
1717
python.version: '3.8'
1818
mac_37:
19-
imageName: 'macOS-10.15'
19+
imageName: 'macOS-12'
2020
python.version: '3.7'
2121
linux_py38:
2222
imageName: 'ubuntu-20.04'
@@ -37,7 +37,7 @@ stages:
3737
echo $(node -v)
3838
npm install --global yarn
3939
displayName: 'Install NodeJS and yarn'
40-
condition: eq(variables['imageName'], 'macOS-10.15')
40+
condition: eq(variables['imageName'], 'macOS-12')
4141
4242
- script: |
4343
sudo apt-get install curl

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
},
5858
"dependencies": {
5959
"@jupyter-widgets/base": "^1.1.10 || ^2 || ^3 || ^4",
60-
"@jupyterlab/application": "^3.2.0",
61-
"@tiledb-inc/viz-core": "0.1.1"
60+
"@jupyterlab/application": "^3.4.5",
61+
"@tiledb-inc/viz-core": "0.1.2-beta.7"
6262
},
6363
"devDependencies": {
6464
"@jupyterlab/builder": "^3.1.0",

pybabylonjs/args.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656

5757

5858
def check_point_cloud_args(mode, point_cloud_args_in):
59-
6059
if mode == "time":
6160
raise ValueError("This mode will be implemented soon")
6261
if mode == "classes":
@@ -94,7 +93,6 @@ def check_point_cloud_args(mode, point_cloud_args_in):
9493

9594

9695
def check_point_cloud_data_dict(mode, data):
97-
9896
for var in ["X", "Y", "Z", "Red", "Green", "Blue"]:
9997
if not var in data:
10098
raise ValueError("Data dictionary does not contain " + var)
@@ -124,7 +122,6 @@ def check_point_cloud_data_dict(mode, data):
124122

125123

126124
def check_point_cloud_data_local(mode, uri, point_cloud_args):
127-
128125
if os.path.isdir(uri) == False:
129126
raise ValueError("uri: " + uri + " does not exist.")
130127
if not "bbox" in point_cloud_args:
@@ -136,7 +133,6 @@ def check_point_cloud_data_local(mode, uri, point_cloud_args):
136133

137134

138135
def check_point_cloud_data_cloud(streaming, uri, point_cloud_args):
139-
140136
if not "token" in point_cloud_args:
141137
token = os.getenv("TILEDB_REST_TOKEN")
142138
if token == None:

pybabylonjs/data.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111

1212
def create_point_cloud(mode, array_uri: str, bbox):
13-
1413
if mode == "time":
1514
attrs = ["Red", "Green", "Blue", "GpsTime"]
1615
elif mode == "classes":

pybabylonjs/show.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ def from_dict(
8989
uri: Optional[str] = None,
9090
**kwargs,
9191
):
92-
9392
source = "dict"
9493

9594
if time:
@@ -150,7 +149,6 @@ def __init__(self):
150149
self.height = None
151150

152151
def _ipython_display_(self):
153-
154152
kwargs = check_point_cloud_args("default", {})
155153

156154
kwargs["source"] = "dict"

0 commit comments

Comments
 (0)