From 8ebd89657ac73feac4e544555f96bc64e5fb48a5 Mon Sep 17 00:00:00 2001 From: Guillaume Maze Date: Wed, 18 Sep 2024 15:33:53 +0200 Subject: [PATCH] misc --- argopy/data_fetchers/gdac_data.py | 4 ++-- argopy/tests/test_fetchers_data_gdac.py | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/argopy/data_fetchers/gdac_data.py b/argopy/data_fetchers/gdac_data.py index 164efc70..760435c9 100644 --- a/argopy/data_fetchers/gdac_data.py +++ b/argopy/data_fetchers/gdac_data.py @@ -139,8 +139,8 @@ def __init__( def __repr__(self): summary = [""] summary.append("Name: %s" % self.definition) - summary.append("Index: %s" % self.indexfs.index_file) - summary.append("Server: %s" % self.server) + summary.append("Index: %s (%s)" % (self.indexfs.index_file, self.indexfs.convention_title)) + summary.append("Host: %s" % self.server) if hasattr(self, "BOX"): summary.append("Domain: %s" % self.cname()) else: diff --git a/argopy/tests/test_fetchers_data_gdac.py b/argopy/tests/test_fetchers_data_gdac.py index 5e9ca68c..e6537edd 100644 --- a/argopy/tests/test_fetchers_data_gdac.py +++ b/argopy/tests/test_fetchers_data_gdac.py @@ -11,14 +11,11 @@ import shutil from urllib.parse import urlparse import logging -from collections import ChainMap import argopy from argopy import DataFetcher as ArgoDataFetcher from argopy.errors import ( CacheFileNotFound, - FileSystemHasNoCache, - GdacPathError, ) from argopy.utils.checkers import isconnected, is_list_of_strings from utils import requires_gdac