From 214a009ed97d79c315df2af0712e960c6490f874 Mon Sep 17 00:00:00 2001 From: David Michaels Date: Fri, 19 Jan 2024 14:02:58 -0500 Subject: [PATCH] minor fix in structured_data.upload_files --- dcicutils/structured_data.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dcicutils/structured_data.py b/dcicutils/structured_data.py index d37f7630e..397524eb7 100644 --- a/dcicutils/structured_data.py +++ b/dcicutils/structured_data.py @@ -116,7 +116,7 @@ def upload_files_located(self, location: Union[str, Optional[List[str]]] = None, recursive: bool = False) -> List[str]: upload_files = copy.deepcopy(self.upload_files) for upload_file in upload_files: - if file_path := search_for_file(upload_file["file"], location=location, recursive=recursive): + if file_path := search_for_file(upload_file["file"], location, multiple=False, recursive=recursive): upload_file["path"] = file_path return upload_files diff --git a/pyproject.toml b/pyproject.toml index 971b35c38..e79a79022 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "dcicutils" -version = "8.7.0.1b30" # TODO: To become 8.7.1 +version = "8.7.0.1b31" # TODO: To become 8.7.1 description = "Utility package for interacting with the 4DN Data Portal and other 4DN resources" authors = ["4DN-DCIC Team "] license = "MIT"