Skip to content

Commit

Permalink
minor fix in structured_data.upload_files
Browse files Browse the repository at this point in the history
  • Loading branch information
dmichaels-harvard committed Jan 19, 2024
1 parent 64c2ca9 commit 214a009
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dcicutils/structured_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <support@4dnucleome.org>"]
license = "MIT"
Expand Down

0 comments on commit 214a009

Please sign in to comment.