mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-03 22:38:11 +08:00
prepare - work around anndata bug (#1260)
* work around anndata bug 344 * fix accidental cut and paste error * Use modified make_index_unique function Temporarily copy code from https://github.com/theislab/anndata/pull/345 until the issue is resolved and released. * Add notes and test for make_index_unique * Lint fix * Format python Co-authored-by: Matt Weiden <538456+mweiden@users.noreply.github.com>
This commit is contained in:
co-authored by
Matt Weiden
parent
db7a485796
commit
d99b84ba09
@@ -17,11 +17,9 @@ import threading
|
||||
class CxgAdaptor(DataAdaptor):
|
||||
|
||||
# TODO: The tiledb context parameters should be a configuration option
|
||||
tiledb_ctx = tiledb.Ctx({
|
||||
"sm.tile_cache_size": 8 * 1024 * 1024 * 1024,
|
||||
"sm.num_reader_threads": 32,
|
||||
"vfs.s3.region": "us-east-1"
|
||||
})
|
||||
tiledb_ctx = tiledb.Ctx(
|
||||
{"sm.tile_cache_size": 8 * 1024 * 1024 * 1024, "sm.num_reader_threads": 32, "vfs.s3.region": "us-east-1"}
|
||||
)
|
||||
|
||||
def __init__(self, data_locator, config=None):
|
||||
super().__init__(config)
|
||||
|
||||
Reference in New Issue
Block a user