Skip to content

Commit 0cc8bb6

Browse files
committed
Merge branch 'develop'
2 parents efa25b9 + fafa8a5 commit 0cc8bb6

25 files changed

+5708
-485
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
* [Tutorials](#tutorials)
1919
* [Advanced Examples](#advanced-examples)
2020
* [Contributing](#contributing)
21+
* [Projects & Research Using FlowKit](#projects--research-using-flowkit)
2122

2223
## Overview
2324

@@ -140,3 +141,9 @@ Below are more advanced and practical examples for using FlowKit. If you have an
140141
Want to get involved in the development of FlowKit?
141142

142143
[Read our CONTRIBUTING guidelines](https://github.com/whitews/FlowKit/blob/master/CONTRIBUTING.md)
144+
145+
## Projects & Research Using FlowKit
146+
147+
The following projects and publications have utilized FlowKit. If you have a package or publication where FlowKit was used, and you want it listed here, feel free to [submit an issue](https://github.com/whitews/FlowKit/issues/new/) letting me know.
148+
149+
* Rendeiro, André F et al. “Profiling of immune dysfunction in COVID-19 patients allows early prediction of disease progression.” Life science alliance vol. 4,2 e202000955. 24 Dec. 2020, [doi:10.26508/lsa.202000955](https://www.life-science-alliance.org/content/4/2/e202000955.full)

docs/_static/css/custom.css

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,43 @@ div.body li {
22
line-height: 1.5em;
33
}
44

5+
#features p, #features li {
6+
line-height: 1.4em;
7+
}
8+
59
dl.method {
610
margin-top: 27px;
711
margin-left: 17px;
8-
}
12+
}
13+
14+
.autoclasstoc table {
15+
border-collapse: collapse !important;
16+
margin: 25px 0;
17+
font-size: 0.9em;
18+
font-family: sans-serif;
19+
min-width: 400px;
20+
border-left: none !important;
21+
border-right: none !important;
22+
box-shadow: none !important;
23+
}
24+
25+
.autoclasstoc th, td {
26+
padding: 12px 15px !important;
27+
border-bottom: 1px solid #dddddd !important;
28+
border-left: none !important;
29+
border-right: none !important;
30+
}
31+
32+
.autoclasstoc tbody tr {
33+
border-bottom: 1px solid #dddddd !important;
34+
border-left: none !important;
35+
border-right: none !important;
36+
}
37+
38+
.autoclasstoc tbody tr:first-of-type {
39+
border-top: 2px solid #009879 !important;
40+
}
41+
42+
.autoclasstoc tbody tr:last-of-type {
43+
border-bottom: 2px solid #009879 !important;
44+
}

docs/conf.py

Lines changed: 32 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
1-
# Configuration file for the Sphinx documentation builder.
2-
#
3-
# This file only contains a selection of the most common options. For a full
4-
# list see the documentation:
5-
# https://www.sphinx-doc.org/en/master/usage/configuration.html
1+
"""
2+
Configuration file for the Sphinx documentation builder.
3+
4+
This file only contains a selection of the most common options. For a full
5+
list see the documentation:
6+
https://www.sphinx-doc.org/en/master/usage/configuration.html
7+
"""
68

79
import os
810
import sys
911
from unittest.mock import MagicMock
1012

13+
# -- Path setup --------------------------------------------------------------
14+
15+
# If extensions (or modules to document with autodoc) are in another directory,
16+
# add these directories to sys.path here. If the directory is relative to the
17+
# documentation root, use os.path.abspath to make it absolute, like shown here.
18+
1119
on_rtd = os.environ.get('READTHEDOCS') == 'True'
20+
1221
if on_rtd:
1322
sys.path.insert(0, os.path.abspath('..'))
1423
else:
@@ -21,20 +30,10 @@ def __getattr__(cls, name):
2130
return MagicMock()
2231

2332

24-
MOCK_MODULES = ['MulticoreTSNE', 'flowkit._utils_c']
33+
# mock the C extension
34+
MOCK_MODULES = ['flowkit._utils_c']
2535
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
2636

27-
# -- Path setup --------------------------------------------------------------
28-
29-
# If extensions (or modules to document with autodoc) are in another directory,
30-
# add these directories to sys.path here. If the directory is relative to the
31-
# documentation root, use os.path.abspath to make it absolute, like shown here.
32-
#
33-
# import os
34-
# import sys
35-
# sys.path.insert(0, os.path.abspath('.'))
36-
37-
3837
# -- Project information -----------------------------------------------------
3938

4039
project = 'FlowKit'
@@ -51,7 +50,21 @@ def __getattr__(cls, name):
5150
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
5251
# ones.
5352
extensions = [
54-
'sphinx.ext.autodoc'
53+
'autoclasstoc',
54+
'sphinx.ext.autodoc',
55+
'sphinx.ext.autosummary'
56+
]
57+
58+
autodoc_default_options = {
59+
'members': True,
60+
'private-members': False,
61+
'inherited-members': True,
62+
'undoc-members': True,
63+
'exclude-members': '__weakref__'
64+
}
65+
66+
autoclasstoc_sections = [
67+
'public-methods'
5568
]
5669

5770
# Add any paths that contain templates here, relative to this directory.
@@ -86,4 +99,4 @@ def __getattr__(cls, name):
8699
# or fully qualified paths (eg. https://...)
87100
html_css_files = [
88101
'css/custom.css',
89-
]
102+
]

docs/gating_results.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ GatingResults Class
22
===================
33

44
.. autoclass:: flowkit._models.gating_strategy.GatingResults
5-
:members:
5+
:members:
6+
7+
.. autoclasstoc::

docs/gating_strategy.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ GatingStrategy Class
22
====================
33

44
.. autoclass:: flowkit.GatingStrategy
5-
:members:
5+
:members:
6+
7+
.. autoclasstoc::

docs/index.rst

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,15 @@ Features
3131
--------
3232

3333
* Read FCS files, including versions 2.0, 3.0, and 3.1
34-
* Export FCS data as a new FCS 3.1 file, NumPy array, Pandas DataFrame, or CSV
34+
* Export FCS data as a new FCS 3.1 file, NumPy array, pandas DataFrame, or CSV
3535
* Compensation of FCS events
3636
* Automatically create compensation matrix from compensation bead files
37-
* Tranform FCS events in a variety of transforms used in the flow community (including logicle)
37+
* Transform FCS events in a variety of transforms used in the flow community (including logicle & FlowJo 10 biexponential)
3838
* Full support for the GatingML 2.0 specification
3939
* Limited support for importing FlowJo 10 workspace files. Workspace files are currently limited to the following features:
40-
* Linear, logarithmic, and logicle transforms
41-
* Polygon and rectangle gates
42-
40+
* Linear, logarithmic, bi-exponential, and logicle transforms
41+
* Polygon, rectangle, ellipse, and quadrant gates
42+
* Export a Session's sample group analysis as a FlowJo 10 workspace file
4343
* Programmatically create gating strategies including polygon, rectangle, range, ellipsoid, quadrant, and boolean gates
44-
* Easily retrieve gating results from a gating strategy as a Pandas DataFrame.
45-
* Optional, automatic filtering of negative scatter events and/or anomalous events
46-
* Visualize FCS data as histograms, contour plots, and interactive scatter plots
47-
44+
* Retrieve gating results as a pandas DataFrame
45+
* Visualize FCM data as histograms, contour plots, and interactive scatter plots

docs/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
Sphinx>=3
1+
Sphinx>=3
2+
autoclasstoc

docs/sample.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
Sample Class
22
============
33

4+
.. currentmodule:: sample
5+
46
.. autoclass:: flowkit.Sample
5-
:members:
7+
:members:
8+
9+
.. autoclasstoc::

docs/session.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ Session Class
22
=============
33

44
.. autoclass:: flowkit.Session
5-
:members:
5+
:members:
6+
7+
.. autoclasstoc::

0 commit comments

Comments
 (0)