Skip to content

Commit

Permalink
Merge pull request #9 from scverse/source_curator_cellline
Browse files Browse the repository at this point in the history
Fix source
  • Loading branch information
Zethson authored Nov 13, 2024
2 parents 9b3ea3a + efab1ef commit 1d91e24
Show file tree
Hide file tree
Showing 4 changed files with 157 additions and 564 deletions.
6 changes: 3 additions & 3 deletions pertpy_datasets/perturbation_curator.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ def __init__(
}

PT_SOURCES: dict[str, Record] = {
"depmap_id": bt.Source.filter(name="depmap").one(),
"cell_line": bt.Source.filter(name="depmap").one(),
# "compound_treatments": bt.Source.filter(entity="Drug", name="chebi").first()
"depmap_id": bt.Source.using(using_key).filter(name="depmap").one(),
"cell_line": bt.Source.using(using_key).filter(name="depmap").one(),
# "compound_treatments": bt.Source..using(using_key)filter(entity="Drug", name="chebi").first()
}

self.organism = organism
Expand Down
Loading

0 comments on commit 1d91e24

Please sign in to comment.