Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit b77a165
Author: Parashar <[email protected]>
Date:   Fri Jul 26 18:58:50 2024 +0200

    docs update
  • Loading branch information
parashardhapola committed Jul 26, 2024
1 parent 2961006 commit c906e0f
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 22 deletions.
13 changes: 6 additions & 7 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
version: 2

build:
os: ubuntu-22.04
os: "ubuntu-22.04"
tools:
python: "3.11"

sphinx:
configuration: docs/source/conf.py
builder: html
fail_on_warning: false


python:
install:
- requirements: requirements.txt
- requirements: requirements_extra.txt
- requirements: docs/source/requirements.txt
- method: pip
path: .

sphinx:
configuration: docs/source/conf.py
builder: html
fail_on_warning: false
14 changes: 9 additions & 5 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
]

templates_path = ["_templates"]
source_suffix = [".rst"]
master_doc = "index"
exclude_patterns = [
"_build",
Expand All @@ -39,9 +38,9 @@
"colon_fence",
]

html_static_path = ["_static"]
html_css_files = ["styles.css"]
html_theme = "sphinx_book_theme"
html_static_path = ["_static"]
html_favicon = "favicon.ico"
html_logo = "logo.png"
html_title = "Scarf documentation"
Expand All @@ -54,13 +53,18 @@
"use_download_button": True,
"use_fullscreen_button": True,
"home_page_in_toc": True,
"extra_navbar": "",
"logo_only": True,
"show_navbar_depth": 2,
"toc_title": "Sections",
}
htmlhelp_basename = "Scarf Documentation"
html_sidebars = {
"**": [
"globaltoc.html",
"searchbox.html",
],
'using/windows': ['windows-sidebar.html', 'searchbox.html'],
}

htmlhelp_basename = "ScarfDoc"
man_pages = [(master_doc, "scarf", "Scarf Documentation", [author], 1)]

nb_execution_allow_errors = True
Expand Down
8 changes: 4 additions & 4 deletions docs/source/contributions.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ extension.
## Contributors
Contributors to the Scarf repository. Thank you everyone!

:::{eval-rst}
```{eval-rst}
.. include:: contributors.rst
:::
```

## Open-source stack
A diverse number of open-source packages in Python scientific stack are being used to build Scarf.
Here we acknowledge some of them (atleast those with pretty logos..)

:::{eval-rst}
```{eval-rst}
.. include:: logos.rst
:::
```

[guideline]: https://www.dataschool.io/how-to-contribute-on-github
[discussion page]: https://www.dataschool.io/how-to-contribute-on-github
Expand Down
4 changes: 2 additions & 2 deletions docs/source/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ To use Scarf you need the Python programming language, version 3.10 or upwards,
First, check whether you already have Python installed. To do so, you need to open a terminal
window (aka command prompt).

:::{eval-rst}
```{eval-rst}
.. tabs::
.. tab:: Linux
Expand All @@ -46,7 +46,7 @@ window (aka command prompt).
Press `CMD+Space` to open spotlight search, and type `terminal` and hit `RETURN`.
:::
```

**Step 2:**

Expand Down
6 changes: 2 additions & 4 deletions scarf/datastore/datastore.py
Original file line number Diff line number Diff line change
Expand Up @@ -730,11 +730,9 @@ def run_cell_cycle_scoring(
- Average expression of all the genes in across `cell_key` cells is calculated
- The log average expression is divided in `n_bins` bins
- A control set of genes is identified by sampling genes from same expression bins where phase's genes are
present.
- A control set of genes is identified by sampling genes from same expression bins where phase's genes are present.
- The average expression of phase genes (Ep) and control genes (Ec) is calculated per cell.
- A phase score is calculated as: Ep-Ec
Cell cycle phase is assigned to each cell based on following rule set:
- A phase score is calculated as: Ep-Ec Cell cycle phase is assigned to each cell based on following rule set:
- G1 phase: S score < -1 > G2M sore
- S phase: S score > G2M score
- G2M phase: G2M score > S score
Expand Down

0 comments on commit c906e0f

Please sign in to comment.