Skip to content

Commit

Permalink
Update macOs images for CI (#54)
Browse files Browse the repository at this point in the history
* Update macOs images for CI

* Format files
  • Loading branch information
SarantopoulosKon authored Mar 15, 2023
1 parent 33bbb79 commit 91833eb
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
6 changes: 3 additions & 3 deletions azure-pipelines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ stages:
strategy:
matrix:
mac_38:
imageName: 'macOS-10.15'
imageName: 'macOS-12'
python.version: '3.8'
mac_37:
imageName: 'macOS-10.15'
imageName: 'macOS-12'
python.version: '3.7'
linux_py38:
imageName: 'ubuntu-20.04'
Expand All @@ -37,7 +37,7 @@ stages:
echo $(node -v)
npm install --global yarn
displayName: 'Install NodeJS and yarn'
condition: eq(variables['imageName'], 'macOS-10.15')
condition: eq(variables['imageName'], 'macOS-12')
- script: |
sudo apt-get install curl
Expand Down
4 changes: 0 additions & 4 deletions pybabylonjs/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@


def check_point_cloud_args(mode, point_cloud_args_in):

if mode == "time":
raise ValueError("This mode will be implemented soon")
if mode == "classes":
Expand Down Expand Up @@ -89,7 +88,6 @@ def check_point_cloud_args(mode, point_cloud_args_in):


def check_point_cloud_data_dict(mode, data):

for var in ["X", "Y", "Z", "Red", "Green", "Blue"]:
if not var in data:
raise ValueError("Data dictionary does not contain " + var)
Expand Down Expand Up @@ -119,7 +117,6 @@ def check_point_cloud_data_dict(mode, data):


def check_point_cloud_data_local(mode, uri, point_cloud_args):

if os.path.isdir(uri) == False:
raise ValueError("uri: " + uri + " does not exist.")
if not "bbox" in point_cloud_args:
Expand All @@ -131,7 +128,6 @@ def check_point_cloud_data_local(mode, uri, point_cloud_args):


def check_point_cloud_data_cloud(streaming, uri, point_cloud_args):

if not "token" in point_cloud_args:
token = os.getenv("TILEDB_REST_TOKEN")
if token == None:
Expand Down
1 change: 0 additions & 1 deletion pybabylonjs/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@


def create_point_cloud(mode, array_uri: str, bbox):

if mode == "time":
attrs = ["Red", "Green", "Blue", "GpsTime"]
elif mode == "classes":
Expand Down
2 changes: 0 additions & 2 deletions pybabylonjs/show.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ def from_dict(
uri: Optional[str] = None,
**kwargs,
):

source = "dict"

if time:
Expand Down Expand Up @@ -150,7 +149,6 @@ def __init__(self):
self.height = None

def _ipython_display_(self):

kwargs = check_point_cloud_args("default", {})

kwargs["source"] = "dict"
Expand Down

0 comments on commit 91833eb

Please sign in to comment.