Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jkobject committed Oct 10, 2024
1 parent 8be79d3 commit ab42205
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@
def test_base():
assert NAME == "scdataloader"
adata = sc.read_h5ad(os.path.join(os.path.dirname(__file__), "test.h5ad"))
preprocessor = Preprocessor(
do_postp=False,
force_preprocess=True,
)
adata = preprocessor(adata)
try:
print("populating ontology...")
start_time = time.time()
Expand All @@ -36,6 +31,11 @@ def test_base():
)
end_time = time.time()
print(f"ontology populated in {end_time - start_time:.2f} seconds")
preprocessor = Preprocessor(
do_postp=False,
force_preprocess=True,
)
adata = preprocessor(adata)
art = ln.Artifact(adata, description="test")
art.save()
ln.Collection(art, name="test", description="test").save()
Expand Down

0 comments on commit ab42205

Please sign in to comment.