From 05c735db8c2b322fd0c8ac22931105b5762c0bbb Mon Sep 17 00:00:00 2001 From: Alex Wolf Date: Wed, 12 Nov 2025 13:10:55 +0100 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Everywhere?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/run_create_zarr_store_from_h5ads_for_tahoe100m.py | 2 +- scripts/run_loading_benchmark_on_collection.py | 2 +- scripts/shuffle_and_shard_tahoe100m_h5ads.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/run_create_zarr_store_from_h5ads_for_tahoe100m.py b/scripts/run_create_zarr_store_from_h5ads_for_tahoe100m.py index f5edc53..774e343 100644 --- a/scripts/run_create_zarr_store_from_h5ads_for_tahoe100m.py +++ b/scripts/run_create_zarr_store_from_h5ads_for_tahoe100m.py @@ -45,7 +45,7 @@ ln.settings.sync_git_repo = "https://github.com/laminlabs/arrayloader-benchmarks" ln.track("zqsf9jOCh6pd", project="zjQ6EYzMXif4") - benchmarking_collections = ln.Collection.using("laminlabs/arrayloader-benchmarks") + benchmarking_collections = ln.Collection.connect("laminlabs/arrayloader-benchmarks") if GENE_SPACE == "FULL": h5ads_paths = ( diff --git a/scripts/run_loading_benchmark_on_collection.py b/scripts/run_loading_benchmark_on_collection.py index 0bc8d2d..280529c 100644 --- a/scripts/run_loading_benchmark_on_collection.py +++ b/scripts/run_loading_benchmark_on_collection.py @@ -21,7 +21,7 @@ def get_datasets( *, collection_key: str, cache: bool = True, n_datasets: int = 1 ) -> tuple[list[Path], int]: - benchmarking_collections = ln.Collection.using("laminlabs/arrayloader-benchmarks") + benchmarking_collections = ln.Collection.connect("laminlabs/arrayloader-benchmarks") collection = benchmarking_collections.get(key=collection_key) if n_datasets == -1: n_datasets = collection.artifacts.count() diff --git a/scripts/shuffle_and_shard_tahoe100m_h5ads.py b/scripts/shuffle_and_shard_tahoe100m_h5ads.py index 4c6159e..b79495a 100644 --- a/scripts/shuffle_and_shard_tahoe100m_h5ads.py +++ b/scripts/shuffle_and_shard_tahoe100m_h5ads.py @@ -30,7 +30,7 @@ "9L9HZ55HqUL0aqaR0000", "vn5cUJCHbjpPPsZx0000", ] - benchmarking_artifacts = ln.Artifact.using("laminlabs/arrayloader-benchmarks") + benchmarking_artifacts = ln.Artifact.connect("laminlabs/arrayloader-benchmarks") file_paths = [benchmarking_artifacts.get(uid).cache() for uid in artifact_uids] # Create shuffled and sharded h5ad files --- FULL GENE SPACE