-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: zethson <[email protected]>
- Loading branch information
Showing
5 changed files
with
615 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,3 +29,4 @@ __pycache__/ | |
|
||
Sandbox.ipynb | ||
test.ipynb | ||
*/10ktp__10X__Visium__Mouse__brain__20200623__v1.1.0.zarr |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,6 @@ | ||
from importlib.metadata import version | ||
from importlib import resources | ||
import pandas as pd | ||
from spatialdata_db.parsing import load_10x_metadata | ||
from spatialdata_db.lamin_spatialdata_validator import SpatialDataValidator | ||
|
||
|
||
def load_10x_metadata(): | ||
with resources.open_text("spatialdata_db.utils.data", "datasets_10x.csv") as file: | ||
return pd.read_csv(file, sep=";") | ||
|
||
|
||
__all__ = ["load_10x_metadata"] | ||
__all__ = ["load_10x_metadata", "SpatialDataValidator"] | ||
__version__ = version("spatialdata-db") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from importlib import resources | ||
import pandas as pd | ||
|
||
|
||
def load_10x_metadata(): | ||
with resources.open_text("spatialdata_db.utils.data", "datasets_10x.csv") as file: | ||
return pd.read_csv(file, sep=";") |