-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API(maps): refactored concurrent mapping with coroutines (#78)
Concurrent mapping of catalogues now uses `async def` coroutines with a much simpler implementation. Instead of passing catalogue pages to each mapper, mappers now individually iterate over catalogues using `async for`, and an improved caching mechanism (now using `lru_cache`) ensures that mappers receive the same rows and selections from a FITS file. Besides, the progress display of `map_catalogs()` and `transform_maps()` is much improved by using the `rich` package for dynamic progress updates. Closes: #76 Closes: #77
- Loading branch information
Showing
9 changed files
with
484 additions
and
361 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.