Skip to content

Commit

Permalink
nothing really
Browse files Browse the repository at this point in the history
  • Loading branch information
jkobject committed Nov 18, 2024
1 parent a47167e commit 5b16285
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions tests/test_base.py
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
import os
import urllib.request

import lamindb as ln
import numpy as np
import pytest
import scanpy as sc
import torch
from scdataloader import Preprocessor, DataModule
from lightning.pytorch import Trainer
from scdataloader import DataModule, Preprocessor
from scdataloader.utils import populate_my_ontology

from scprint import scPrint
from scprint.base import NAME
from scprint.tasks import Denoiser, Embedder, GNInfer
from scprint.trainer import TrainingMode

import lamindb as ln
from lightning.pytorch import Trainer


def test_base():
assert NAME == "scprint"
Expand Down Expand Up @@ -137,7 +136,7 @@ def test_base():
do_gene_pos=False,
test_split=0.1,
)
testfiles = datamodule.setup()
_ = datamodule.setup()
model = scPrint(
genes=datamodule.genes,
d_model=64,
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5b16285

Please sign in to comment.