diff --git a/darwin/cli_functions.py b/darwin/cli_functions.py index e165afc19..b8e24da0c 100644 --- a/darwin/cli_functions.py +++ b/darwin/cli_functions.py @@ -358,7 +358,7 @@ def split(dataset_slug: str, val_percentage: float, test_percentage: float, seed def list_remote_datasets(all_teams: bool, team: Optional[str] = None): """Lists remote datasets with its annotation progress""" # TODO: add listing open datasets - table = Table(["name", "images", "progress"], [Table.L, Table.R, Table.R]) + table = Table(["name", "images"], [Table.L, Table.R]) datasets = [] if all_teams: for team in _config().get_all_teams(): @@ -369,13 +369,7 @@ def list_remote_datasets(all_teams: bool, team: Optional[str] = None): datasets = client.list_remote_datasets() for dataset in datasets: - table.add_row( - { - "name": f"{dataset.team}/{dataset.slug}", - "images": dataset.image_count, - "progress": f"{round(dataset.progress*100,1)}%", - } - ) + table.add_row({"name": f"{dataset.team}/{dataset.slug}", "images": dataset.image_count}) if len(table) == 0: print("No dataset available.") else: diff --git a/darwin/client.py b/darwin/client.py index 6010dfe43..3da705fc4 100644 --- a/darwin/client.py +++ b/darwin/client.py @@ -215,7 +215,7 @@ def list_remote_datasets(self, team: Optional[str] = None) -> Iterator[RemoteDat team=team or self.default_team, dataset_id=dataset["id"], image_count=dataset["num_images"], - progress=dataset["progress"], + progress=0, client=self, ) @@ -267,7 +267,7 @@ def create_dataset(self, name: str, team: Optional[str] = None) -> RemoteDataset slug=dataset["slug"], dataset_id=dataset["id"], image_count=dataset["num_images"], - progress=dataset["progress"], + progress=0, client=self, ) diff --git a/setup.py b/setup.py index 52ff3bc24..d9478f9bf 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="darwin-py", - version="0.5.2", + version="0.5.3", author="V7", author_email="info@v7labs.com", description="Library and command line interface for darwin.v7labs.com",