diff --git a/blue_geo/__init__.py b/blue_geo/__init__.py index 7a1913ab..b1ba4dfd 100644 --- a/blue_geo/__init__.py +++ b/blue_geo/__init__.py @@ -4,7 +4,7 @@ DESCRIPTION = f"{ICON} AI for precise geospatial data analysis and visualization." -VERSION = "4.104.1" +VERSION = "4.105.1" REPO_NAME = "blue-geo" diff --git a/blue_geo/datacube/__main__.py b/blue_geo/datacube/__main__.py index 284aafea..a2d7d65a 100644 --- a/blue_geo/datacube/__main__.py +++ b/blue_geo/datacube/__main__.py @@ -1,6 +1,6 @@ import argparse from blue_geo import VERSION -from blue_geo.datacube.catalogs import list_of +from blue_geo.datacube.catalogs import list_of_datacube_classes from blue_geo import env from blue_geo.datacube.catalogs import catalog_of from blue_geo.datacube import NAME @@ -56,7 +56,9 @@ print(output) elif args.task == "list_of_catalogs": success = True - output = list_of + output = list( + {datacube_class.catalog for datacube_class in list_of_datacube_classes} + ) if args.log: logger.info(f"{len(output):,} catalog(s): {delim.join(output)}") diff --git a/blue_geo/datacube/catalogs.py b/blue_geo/datacube/catalogs.py index 55cc8857..ce5954bd 100644 --- a/blue_geo/datacube/catalogs.py +++ b/blue_geo/datacube/catalogs.py @@ -7,10 +7,6 @@ FirmsAreaDatacube, ] -list_of = list( - set([datacube_class.catalog for datacube_class in list_of_datacube_classes]) -) - def catalog_of(datacube_id: str) -> Tuple[bool, str]: for datacube_class in list_of_datacube_classes: diff --git a/blue_geo/datacube/query.py b/blue_geo/datacube/query.py index d98a3836..8168d85e 100644 --- a/blue_geo/datacube/query.py +++ b/blue_geo/datacube/query.py @@ -1,7 +1,6 @@ import argparse from blue_geo import VERSION from abcli.plugins.metadata import get_from_object -from blue_geo.datacube.catalogs import list_of from blue_geo.ukraine_timemap import NAME from blue_geo.logger import logger from blueness.argparse.generic import sys_exit