Skip to content

Commit e2e54a0

Browse files
committed
got rid of concept of suitability
1 parent fd30cc8 commit e2e54a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xcube/core/store/fs/store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ def _set_infos_from_extensions(cls, find_extensions, protocol=None) -> (
469469
extensions = ext.metadata.get("extensions", [])
470470
for extension in extensions:
471471
filename_ext_to_format[extension] = fmt
472-
if ext.metadata.get("suitability", "primary") == "primary":
472+
if data_type == "mldataset":
473473
format_to_data_type_aliases[fmt] = (
474474
(data_type, ) + format_to_data_type_aliases.get(fmt, ())
475475
)

0 commit comments

Comments
 (0)