Skip to content

Commit

Permalink
🎨 Fix validation
Browse files Browse the repository at this point in the history
Signed-off-by: zethson <[email protected]>
  • Loading branch information
Zethson committed Oct 21, 2024
1 parent 8d48ffa commit b694e1b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
3 changes: 1 addition & 2 deletions cellxgene_lamin/curate.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ def __init__(
schema_version: The CELLxGENE schema version to curate against.
verbosity: The verbosity level.
using_key: A reference LaminDB instance.
Do not set to a different instance unless you have a copy of the laminlabs/cellxgene instance.
"""
self.organism = organism
self.using_key = using_key
Expand All @@ -118,7 +117,7 @@ def __init__(
self.schema_version
]

# Fetch AnnData obs to get appropriate sources and set defaults
# Fetch AnnData obs to be able to set defaults and get sources
if isinstance(adata, ad.AnnData):
self._adata_obs = adata.obs
else:
Expand Down
18 changes: 0 additions & 18 deletions docs/cellxgene-curate.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -203,24 +203,6 @@
"validated"
]
},
{
"cell_type": "markdown",
"id": "76af04f5",
"metadata": {},
"source": [
"We add all validated genes:"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "99c71c20",
"metadata": {},
"outputs": [],
"source": [
"curator.add_validated_from_var_index()"
]
},
{
"cell_type": "markdown",
"id": "19d016a6",
Expand Down

0 comments on commit b694e1b

Please sign in to comment.