Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
08c0bc9
integrate new dataloaders
selmanozleyen Aug 8, 2025
14dda75
put working state
selmanozleyen Aug 8, 2025
e40e575
add new files
selmanozleyen Aug 8, 2025
691e941
fix
selmanozleyen Aug 8, 2025
a2a8ab1
fix this
selmanozleyen Aug 8, 2025
4a2cb76
format
selmanozleyen Aug 8, 2025
73900f6
remove extra test files
selmanozleyen Aug 19, 2025
245b595
update the write function
selmanozleyen Aug 25, 2025
2a0d870
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 25, 2025
6e34cc7
remove compat test
selmanozleyen Aug 25, 2025
1b78a05
Merge branch 'feature/zarr-data' of https://github.com/theislab/cellf…
selmanozleyen Aug 25, 2025
cc2d53b
fix import problems and rename function to write_zarr
selmanozleyen Aug 25, 2025
297a83c
hide explicit torch imports
selmanozleyen Aug 25, 2025
2be2bd6
add read and write zarr tests
selmanozleyen Aug 25, 2025
a1f974c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 25, 2025
f4062bb
push working state
selmanozleyen Aug 25, 2025
93c66a7
Merge branch 'feature/zarr-data' of https://github.com/theislab/cellf…
selmanozleyen Aug 25, 2025
7ac0f8f
remove torch test for cellflow workflow
selmanozleyen Aug 26, 2025
8abe9b1
Merge branch 'main' into feature/zarr-data
selmanozleyen Aug 26, 2025
042e07a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 26, 2025
d454e34
Delete tests/test_optional.py
selmanozleyen Aug 26, 2025
9e56b37
fix unintentionally removed line
selmanozleyen Aug 26, 2025
e67de7d
ability to add names and tests
selmanozleyen Aug 26, 2025
feae2dd
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 26, 2025
5c611f9
bug fix
selmanozleyen Sep 17, 2025
3423c39
add trainsampler with pool
selmanozleyen Sep 19, 2025
8291b7a
save current state
selmanozleyen Sep 20, 2025
2a26de9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 20, 2025
00b678d
Merge pull request #1 from theislab/feature/zarr-data
selmanozleyen Sep 20, 2025
7089bae
get rid of old module thing
selmanozleyen Sep 20, 2025
a8c5c09
new way to save whole tahoe dataset
selmanozleyen Sep 20, 2025
988803f
update first working version
selmanozleyen Sep 29, 2025
dce9c34
nonblocking version
selmanozleyen Sep 29, 2025
4e89f50
name change to avoid conflicts
AlejandroTL Sep 29, 2025
5dd738a
idk if this works
selmanozleyen Sep 29, 2025
85431c4
load initial caching parallel
selmanozleyen Sep 29, 2025
f0d0be3
alejandro/data_splitter
AlejandroTL Sep 30, 2025
f62c68b
eqm testing
AlejandroTL Oct 8, 2025
b6d8e1f
tests for eqm and data splitter
AlejandroTL Oct 14, 2025
074a7f1
merge main
AlejandroTL Oct 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,4 @@ tests/plotting/actual_figures/

# huggingface
hub/
docs/notebooks/test.zarr
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<img src="docs/_static/images/cellflow_dark.png" width="500" alt="CellFlow">
<img src="docs/_static/images/scaleflow_dark.png" width="500" alt="CellFlow">

[![PyPI](https://img.shields.io/pypi/v/cellflow-tools.svg)](https://pypi.org/project/cellflow-tools/)
[![Downloads](https://static.pepy.tech/badge/cellflow-tools)](https://pepy.tech/project/cellflow-tools)
[![CI](https://img.shields.io/github/actions/workflow/status/theislab/cellflow/test.yaml?branch=main)](https://github.com/theislab/cellflow/actions)
[![PyPI](https://img.shields.io/pypi/v/scaleflow-tools.svg)](https://pypi.org/project/scaleflow-tools/)
[![Downloads](https://static.pepy.tech/badge/scaleflow-tools)](https://pepy.tech/project/scaleflow-tools)
[![CI](https://img.shields.io/github/actions/workflow/status/theislab/scaleflow/test.yaml?branch=main)](https://github.com/theislab/scaleflow/actions)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/theislab/CellFlow/main.svg)](https://results.pre-commit.ci/latest/github/theislab/CellFlow/main)
[![Codecov](https://codecov.io/gh/theislab/cellflow/branch/main/graph/badge.svg?token=Rgtm5Tsblo)](https://codecov.io/gh/theislab/cellflow)
[![Docs](https://img.shields.io/readthedocs/cellflow)](https://cellflow.readthedocs.io/en/latest/)
[![Codecov](https://codecov.io/gh/theislab/scaleflow/branch/main/graph/badge.svg?token=Rgtm5Tsblo)](https://codecov.io/gh/theislab/scaleflow)
[![Docs](https://img.shields.io/readthedocs/scaleflow)](https://scaleflow.readthedocs.io/en/latest/)

CellFlow - Modeling Complex Perturbations with Flow Matching
============================================================
Expand All @@ -21,20 +21,20 @@ Check out the [preprint](https://www.biorxiv.org/content/10.1101/2025.04.11.6482
- Modeling the development of perturbed organisms
- Cell fate engineering
- Optimizing protocols for growing organoids
- ... and more; check out the [documentation](https://cellflow.readthedocs.io) for more information.
- ... and more; check out the [documentation](https://scaleflow.readthedocs.io) for more information.


Installation
------------
Install **CellFlow** by running::

pip install cellflow-tools
pip install scaleflow-tools


In order to install **CellFlow** in editable mode, run::

git clone https://github.com/theislab/cellflow
cd cellflow
git clone https://github.com/theislab/scaleflow
cd scaleflow
pip install -e .

For further instructions how to install jax, please refer to https://github.com/google/jax.
20 changes: 10 additions & 10 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
import cellflow
import scaleflow

sys.path.insert(0, str(Path(__file__).parent / "extensions"))

# -- Project information -----------------------------------------------------

project = cellflow.__name__
author = "CellFlow team"
version = ilm.version("cellflow-tools")
project = scaleflow.__name__
author = "ScaleFlow team"
version = ilm.version("scaleflow-tools")
copyright = f"{datetime.now():%Y}, Theislab"

# -- General configuration ---------------------------------------------------
Expand Down Expand Up @@ -67,9 +67,9 @@
]
# TODO(michalk8): remove once typing has been cleaned-up
nitpick_ignore_regex = [
(r"py:class", r"cellflow\..*(K|B|O)"),
(r"py:class", r"cellflow\._typing.*"),
(r"py:class", r"cellflow\..*Protocol.*"),
(r"py:class", r"scaleflow\..*(K|B|O)"),
(r"py:class", r"scaleflow\._typing.*"),
(r"py:class", r"scaleflow\..*Protocol.*"),
]


Expand Down Expand Up @@ -152,8 +152,8 @@
html_show_sourcelink = False
html_theme_options = {
"sidebar_hide_name": True,
"light_logo": "images/cellflow_dark.png",
"dark_logo": "images/cellflow_dark.png",
"light_logo": "images/scaleflow_dark.png",
"dark_logo": "images/scaleflow_dark.png",
"light_css_variables": {
"color-brand-primary": "#003262",
"color-brand-content": "#003262",
Expand All @@ -164,7 +164,7 @@
"footer_icons": [
{
"name": "GitHub",
"url": "https://github.com/theislab/cellflow",
"url": "https://github.com/theislab/scaleflow",
"html": "",
"class": "fab fa-github",
},
Expand Down
4 changes: 2 additions & 2 deletions docs/developer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Developer API
CellFlow model
~~~~~~~~~~~~~~

.. module:: cellflow.data
.. currentmodule:: cellflow.data
.. module:: scaleflow.data
.. currentmodule:: scaleflow.data
.. autosummary::
:toctree: genapi

Expand Down
10 changes: 5 additions & 5 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

CellFlow
=====================
.. module:: cellflow
.. module:: scaleflow

:mod:`cellflow` is a framework for modeling single-cell perturbation screens. CellFlow is very flexible and enables researchers to systematically explore how cells respond to a wide range of experimental interventions, including drug treatments, genetic modifications, cytokine stimulation, morphogen pathway modulation or even entire organoid protocols.
:mod:`scaleflow` is a framework for modeling single-cell perturbation screens. CellFlow is very flexible and enables researchers to systematically explore how cells respond to a wide range of experimental interventions, including drug treatments, genetic modifications, cytokine stimulation, morphogen pathway modulation or even entire organoid protocols.

:note: This is a work in progress. We are actively working on extending the documentation of :mod:`cellflow` with more tutorials to cover a wide range of use cases. If you have any questions or suggestions, please feel free to reach out to us.
:note: This is a work in progress. We are actively working on extending the documentation of :mod:`scaleflow` with more tutorials to cover a wide range of use cases. If you have any questions or suggestions, please feel free to reach out to us.


.. grid:: 3
Expand All @@ -15,13 +15,13 @@ CellFlow
:link: installation
:link-type: doc

Learn how to install :mod:`cellflow`.
Learn how to install :mod:`scaleflow`.

.. grid-item-card:: User API
:link: user/index
:link-type: doc

The API reference with all the details on how to use :mod:`cellflow` functions.
The API reference with all the details on how to use :mod:`scaleflow` functions.


.. grid-item-card:: Manuscript
Expand Down
12 changes: 6 additions & 6 deletions docs/installation.rst
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
Installation
============
:mod:`cellflow` requires Python version >= 3.11 to run.
:mod:`scaleflow` requires Python version >= 3.11 to run.

PyPI
----
Install :mod:`cellflow` by running::
Install :mod:`scaleflow` by running::

pip install cellflow-tools
pip install scaleflow-tools

Installing `rapids-singlecell` and `cuml`:

While it's not necessary to install :mod:`cellflow` with `rapids-singlecell` and `cuml`,
While it's not necessary to install :mod:`scaleflow` with `rapids-singlecell` and `cuml`,
it is recommended to do so for faster preprocessing or downstream functions.
To install :mod:`cellflow` with `rapids-singlecell` and `cuml`, please refer to
To install :mod:`scaleflow` with `rapids-singlecell` and `cuml`, please refer to
`instructions how to install rapids <https://rapids-singlecell.readthedocs.io/en/latest/Installation.html>`_.

Development version
-------------------
To install :mod:`cellflow` from `GitHub <https://github.com/theislab/CellFlow>`_, run::
To install :mod:`scaleflow` from `GitHub <https://github.com/theislab/CellFlow>`_, run::

pip install git+https://github.com/theislab/CellFlow.git@main
Loading
Loading