generated from theislab/sc_analysis_template
-
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.
- Loading branch information
1 parent
5578cf9
commit 6119e1a
Showing
10 changed files
with
37 additions
and
15 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 |
---|---|---|
|
@@ -149,7 +149,7 @@ dmypy.json | |
*.gmt | ||
*.gmx | ||
|
||
data/ | ||
# Directories to ignore | ||
figures/ | ||
|
||
# OS specifics | ||
|
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
Empty file.
Empty file.
Empty file.
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,6 +1,7 @@ | ||
from importlib.metadata import version | ||
|
||
from . import pl, pp, tl, ul | ||
from ._constants import FilePaths | ||
|
||
__all__ = ["pl", "pp", "tl", "ul"] | ||
__all__ = ["pl", "pp", "tl", "ul", "FilePaths"] | ||
__version__ = version("fancypackage") |
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,11 @@ | ||
from pathlib import Path | ||
|
||
|
||
class FilePaths: | ||
"""Paths to the data and figures directories.""" | ||
|
||
ROOT = Path(__file__).parents[3].resolve() | ||
|
||
DATA = ROOT / "data" | ||
FIGURES = ROOT / "figures" | ||
DATASET_1 = DATA / "dataset_1" |
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 +1 @@ | ||
from .constants import DATA_DIR, FIG_DIR | ||
from .basic import basic_utility |
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,17 @@ | ||
from anndata import AnnData | ||
|
||
|
||
def basic_utility(adata: AnnData) -> int: | ||
"""Run a utility function | ||
Parameters | ||
---------- | ||
adata | ||
The AnnData object to do something with | ||
Returns | ||
------- | ||
Some integer value. | ||
""" | ||
print("Implement a utility function here.") | ||
return 0 |
This file was deleted.
Oops, something went wrong.