From b18da2ba883b82bcf01315ea49b6e336ed774ce2 Mon Sep 17 00:00:00 2001 From: Irene Dea Date: Tue, 19 Dec 2023 00:03:13 +0000 Subject: [PATCH] Fix remote path check for UC volumes --- scripts/data_prep/convert_text_to_mds.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/data_prep/convert_text_to_mds.py b/scripts/data_prep/convert_text_to_mds.py index d28c38a704..dc7c514d75 100644 --- a/scripts/data_prep/convert_text_to_mds.py +++ b/scripts/data_prep/convert_text_to_mds.py @@ -256,8 +256,8 @@ def is_remote_path(path: str) -> bool: Args: path (str): path to check """ - backend, bucket, _ = parse_uri(path) - return backend != '' and bucket != '' + backend, _, _ = parse_uri(path) + return backend != '' def is_already_processed(output_root: str, args_str: str,