From 0493bc4f17b17d9529177782b72fa4aef47d6836 Mon Sep 17 00:00:00 2001 From: Nick Watts Date: Tue, 30 Nov 2021 09:33:19 -0500 Subject: [PATCH] Update to new RouterAsyncFS interface in Hail 0.2.79 --- gnomad/utils/file_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnomad/utils/file_utils.py b/gnomad/utils/file_utils.py index 303415b77..a40a18b1e 100644 --- a/gnomad/utils/file_utils.py +++ b/gnomad/utils/file_utils.py @@ -57,7 +57,7 @@ async def async_file_exists(fs: AsyncFS, fpath: str) -> bool: ) as pbar: with ThreadPoolExecutor() as thread_pool: async with RouterAsyncFS( - "file", [LocalAsyncFS(thread_pool), GoogleStorageAsyncFS()] + "file", filesystems=[LocalAsyncFS(thread_pool), GoogleStorageAsyncFS()] ) as fs: def check_existence_and_update_pbar_thunk(fpath: str) -> Callable: