Compare commits

..
Author SHA1 Message Date
kaloster ea13d3e253 debug 2024-09-09 16:56:25 -04:00
kaloster b43bce4321 debug 2024-09-09 16:53:52 -04:00
kaloster 8bde7c1c1f add setuptools 2024-09-09 16:51:10 -04:00
kaloster b11b161dd3 add setuptools 2024-09-09 16:45:58 -04:00
kaloster eba4c077fc add setuptools 2024-09-09 16:41:08 -04:00
kaloster 3e516bfb2f add setuptools 2024-09-09 16:26:47 -04:00
kaloster 402b9b3f94 chore: python 3.12 2024-09-09 16:16:03 -04:00
36 changed files with 780 additions and 889 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.3.0
current_version = 1.2.0
commit = True
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(?:-(?P<prerel>rc)\.(?P<prerelversion>\d+))?
serialize =
+6 -1
View File
@@ -7,6 +7,10 @@ on:
branches:
- main
### For debugging purposes - uncomment below to run on all PRs
pull_request:
branches: "*"
env:
JEST_ENV: prod
@@ -28,6 +32,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# note: The `macos-latest` is latest Catalina version, and not Big Sur. So we explicitly ask for Big Sur (`macos-11`)
os: [ubuntu-latest, macos-latest, macos-13]
python-version: ["3.10", "3.11", "3.12"]
cellxgene_build: [main, latest]
@@ -95,7 +100,7 @@ jobs:
# keep same pip pkg versions as in the cxg release
sed -i'' -e 's/-r requirements.txt//' server/requirements-dev.txt
pip install -r server/requirements-dev.txt
pip install --force-reinstall numpy==2.0.1 numba>=0.60.0 pandas flatbuffers==2.0.7
pip install --force-reinstall numpy==2.0.1 numba>=0.60.0 pandas
- name: Install anndata version per matrix variable
run: pip install anndata${{ matrix.anndata_version }}
- name: Install node
+6 -5
View File
@@ -28,11 +28,14 @@ jobs:
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
- name: Install dependencies now
run: |
pip install flake8
pip install black
cd client
pip install setuptools
- name: Install client dependencies
run: |
cd client
npm install
- name: Format with black and lint with flake8
run: |
@@ -98,9 +101,7 @@ jobs:
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: |
pip install setuptools
make pydist install-dist
run: make pydist install-dist
- name: Smoke tests (without annotations feature)
run: |
cd client && make smoke-test
+9 -8
View File
@@ -27,7 +27,7 @@ Whether you need to visualize one thousand cells or one million, CELLxGENE Annot
### Quick start
To install CELLxGENE Annotate you need Python 3.10+. We recommend [installing Annotate into a conda or virtual environment.](https://github.com/chanzuckerberg/cellxgene-documentation/blob/main/desktop/install.md)
To install CELLxGENE Annotate you need Python 3.6+. We recommend [installing Annotate into a conda or virtual environment.](https://github.com/chanzuckerberg/cellxgene-documentation/blob/main/desktop/install.md)
Install the package.
@@ -66,21 +66,22 @@ For any errors, [report bugs on Github](https://github.com/chanzuckerberg/cellxg
### Contributing
We warmly welcome contributions from the community! Please see our [contributing guide](https://github.com/chanzuckerberg/cellxgene-documentation/blob/main/contribute.md) and don't hesitate to open an issue or send a pull request to improve CELLxGENE Annotate. Please see the [dev_docs](https://github.com/chanzuckerberg/cellxgene/tree/main/dev_docs) for pull request suggestions, unit test details, local documentation preview, and other development specifics.
We warmly welcome contributions from the community! Please see our [contributing guide](https://github.com/chanzuckerberg/cellxgene-documentation/blob/main/contribute.md) and don't hesitate to open an issue or send a pull request to improve CELLxGENE Annotate. Please see the [dev_docs](https://github.com/chanzuckerberg/cellxgene/tree/main/dev_docs) for pull request suggestions, unit test details, local documentation preview, and other development specifics.
This project adheres to the Contributor Covenant [code of conduct](https://github.com/chanzuckerberg/.github/blob/master/CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to opensource@chanzuckerberg.com.
### Reuse
This project was started with the sole goal of empowering the scientific community to explore and understand their data.
As such, we encourage other scientific tool builders in academia or industry to adopt the patterns, tools, and code from
This project was started with the sole goal of empowering the scientific community to explore and understand their data.
As such, we encourage other scientific tool builders in academia or industry to adopt the patterns, tools, and code from
this project. All code is freely available for reuse under the [MIT license](https://opensource.org/licenses/MIT).
Before extending CELLxGENE Annotate, we encourage you to reach out to us with ideas or questions. It might be possible that an
extension could be directly contributed, which would make it available for a wider audience, or that it's on our
[roadmap](https://github.com/chanzuckerberg/cellxgene-documentation/blob/main/roadmap.md) and under active development.
See the [CELLxGENE extensions](https://github.com/chanzuckerberg/cellxgene-documentation/blob/main/community-extensions.md) section of our documentation for examples of community use and CELLxGENE extensions.
Before extending CELLxGENE Annotate, we encourage you to reach out to us with ideas or questions. It might be possible that an
extension could be directly contributed, which would make it available for a wider audience, or that it's on our
[roadmap](https://github.com/chanzuckerberg/cellxgene-documentation/blob/main/roadmap.md) and under active development.
See the [CELLxGENE extensions](https://github.com/chanzuckerberg/cellxgene-documentation/blob/main/community-extensions.md) section of our documentation for examples of community use and CELLxGENE extensions.
### Security
+1 -1
View File
@@ -1 +1 @@
18.17.0
16.20.0
+1 -1
View File
@@ -1,4 +1,4 @@
import * as ENV_DEFAULT from "Code/cellxgene/environment.default.json";
import * as ENV_DEFAULT from "../../../environment.default.json";
export const jestEnv = process.env.JEST_ENV || ENV_DEFAULT.JEST_ENV;
export const appUrlBase =
+1 -1
View File
@@ -5,8 +5,8 @@
*/
import { setDefaultOptions } from "expect-puppeteer";
import * as ENV_DEFAULT from "Code/cellxgene/environment.default.json";
import { isDebug, isDev } from "./config";
import * as ENV_DEFAULT from "../../../environment.default.json";
// (thuang): This is the max time a test can take to run.
// Since when debugging, we run slowMo and !headless, this means
+1 -2
View File
@@ -82,14 +82,13 @@ module.exports = {
},
// Can't extend in overrides: https://github.com/eslint/eslint/issues/8813
// "extends": ["plugin:jest/recommended"]
plugins: ["jest", "no-floating-promise"],
plugins: ["jest"],
rules: {
"jest/no-disabled-tests": "warn",
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error",
"jest/prefer-to-have-length": "warn",
"jest/valid-expect": "error",
"no-floating-promise/no-floating-promise": 2,
},
},
],
-1
View File
@@ -14,7 +14,6 @@ const DEFAULT_LAUNCH_CONFIG = {
headless: !isHeadful,
args: ["--ignore-certificate-errors", "--ignore-ssl-errors"],
ignoreHTTPSErrors: true,
timeout: 90000,
defaultViewport: {
width: 1280,
height: 960,
+651 -780
View File
File diff suppressed because it is too large Load Diff
+7 -8
View File
@@ -1,6 +1,6 @@
{
"name": "cellxgene",
"version": "1.3.0",
"version": "1.2.0",
"license": "MIT",
"description": "cellxgene is a web application for the interactive exploration of single cell sequence data.",
"repository": "https://github.com/chanzuckerberg/cellxgene",
@@ -18,8 +18,8 @@
},
"engineStrict": true,
"engines": {
"npm": ">=9.6.7",
"node": "^18.17.0"
"npm": ">=3.0.0",
"node": "^16.0.0"
},
"eslintConfig": {
"extends": "./configuration/eslint/eslint.js"
@@ -92,7 +92,7 @@
"@babel/preset-react": "^7.13.13",
"@babel/register": "^7.13.16",
"@babel/runtime": "^7.13.16",
"@blueprintjs/eslint-plugin": "^6.1.4",
"@blueprintjs/eslint-plugin": "^0.3.0",
"@sentry/webpack-plugin": "^1.15.0",
"babel-jest": "^26.1.0",
"babel-loader": "^8.1.0",
@@ -104,16 +104,15 @@
"codecov": "^3.7.1",
"css-loader": "^5.2.4",
"css-minimizer-webpack-plugin": "^4.0.0",
"eslint": "^8.56.0",
"eslint-config-airbnb": "^19.0.4",
"eslint": "^7.24.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-prettier": "^8.2.0",
"eslint-plugin-compat": "^4.2.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jest": "^28.8.3",
"eslint-plugin-jest": "^24.3.5",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-no-floating-promise": "^2.0.0",
"eslint-plugin-react": "^7.23.2",
"eslint-plugin-react-hooks": "^4.0.8",
"expect-puppeteer": "^5.0.0",
@@ -1,8 +1,8 @@
import React from "react";
import * as globals from "../../globals";
function ErrorLoading({ displayName, zebra }) {
return <div
const ErrorLoading = ({ displayName, zebra }) => (
<div
style={{
backgroundColor: zebra ? globals.lightestGrey : "white",
fontStyle: "italic",
@@ -10,6 +10,6 @@ function ErrorLoading({ displayName, zebra }) {
>
<span>{`Failure loading ${displayName}`}</span>
</div>
}
);
export default ErrorLoading;
@@ -5,7 +5,7 @@ import * as d3 from "d3";
import maybeScientific from "../../util/maybeScientific";
import clamp from "../../util/clamp";
function Histogram({
const Histogram = ({
field,
fieldForId,
display,
@@ -18,7 +18,7 @@ function Histogram({
isColorBy,
selectionRange,
mini,
}) {
}) => {
const svgRef = useRef(null);
const [brush, setBrush] = useState(null);
@@ -186,6 +186,6 @@ function Histogram({
ref={svgRef}
/>
);
}
};
export default Histogram;
@@ -3,8 +3,12 @@ import { Button } from "@blueprintjs/core";
import * as globals from "../../globals";
function StillLoading({ zebra, displayName }) {
return <div
const StillLoading = ({ zebra, displayName }) =>
/*
Render a loading indicator for the field.
*/
(
<div
data-testclass="gene-loading-spinner"
style={{
padding: globals.leftSidebarSectionPadding,
@@ -33,6 +37,7 @@ function StillLoading({ zebra, displayName }) {
</div>
</div>
</div>
}
)
;
export default StillLoading;
@@ -71,7 +71,8 @@ class Category extends React.PureComponent {
const { metadataField, annotations, obsCrossfilter } = this.props;
return (
<AnnoDialog
<>
<AnnoDialog
isActive={
annotations.isAddingNewLabel &&
annotations.categoryAddingNewLabel === metadataField
@@ -104,6 +105,7 @@ class Category extends React.PureComponent {
/>
}
/>
</>
);
}
}
@@ -105,7 +105,8 @@ class AnnoDialogEditCategoryName extends React.PureComponent {
const { metadataField, annotations } = this.props;
return (
<AnnoDialog
<>
<AnnoDialog
isActive={
annotations.isEditingCategoryName &&
annotations.categoryBeingEdited === metadataField
@@ -140,6 +141,7 @@ class AnnoDialogEditCategoryName extends React.PureComponent {
/>
}
/>
</>
);
}
}
@@ -288,8 +288,11 @@ class Category extends React.PureComponent {
export default Category;
function StillLoading({ metadataField, checkboxID }) {
return <div
const StillLoading = ({ metadataField, checkboxID }) => (
/*
We are still loading this category, so render a "busy" signal.
*/
<div
style={{
maxWidth: globals.maxControlsWidth,
}}
@@ -332,8 +335,8 @@ function StillLoading({ metadataField, checkboxID }) {
</div>
</div>
</div>
}
function ErrorLoading({ metadataField, error }) {
);
const ErrorLoading = ({ metadataField, error }) => {
console.error(error); // log error to console as it is unexpected.
return (
<div style={{ marginBottom: 10, marginTop: 4 }}>
@@ -349,7 +352,7 @@ function ErrorLoading({ metadataField, error }) {
</span>
</div>
);
}
};
const CategoryHeader = React.memo(
({
@@ -162,7 +162,7 @@ class CategoryValue extends React.Component {
);
};
shouldComponentUpdate(nextProps, nextState) {
shouldComponentUpdate = (nextProps, nextState) => {
/*
Checks to see if at least one of the following changed:
* world state
+2 -2
View File
@@ -109,7 +109,7 @@ const loadAllEmbeddingCounts = async ({ annoMatrix, available }) => {
}));
};
function EmbeddingChoices({ onChange, annoMatrix, layoutChoice }) {
const EmbeddingChoices = ({ onChange, annoMatrix, layoutChoice }) => {
const { available } = layoutChoice;
const { data, error, isPending } = useAsync({
promiseFn: loadAllEmbeddingCounts,
@@ -149,4 +149,4 @@ function EmbeddingChoices({ onChange, annoMatrix, layoutChoice }) {
);
}
return null;
}
};
+2 -2
View File
@@ -1,7 +1,7 @@
import React from "react";
import icon from "../../images/icon.png";
function Logo(props) {
const Logo = (props) => {
const { size } = props;
return (
<img
@@ -11,6 +11,6 @@ function Logo(props) {
alt="CELLxGENE Annotate Logo"
/>
);
}
};
export default Logo;
@@ -53,7 +53,8 @@ class AddGeneToGenesetDialogue extends React.PureComponent {
const { genesToAdd } = this.state;
return (
<AnnoDialog
<>
<AnnoDialog
isActive={genesetsUI.isAddingGenesToGeneset === geneset}
inputProps={{ "data-testid": `${geneset}:create-label-dialog` }}
primaryButtonProps={{
@@ -80,6 +81,7 @@ class AddGeneToGenesetDialogue extends React.PureComponent {
handleSubmit={this.handleAddGeneToGeneSet}
handleCancel={this.disableAddGeneMode}
/>
</>
);
}
}
@@ -125,7 +125,8 @@ class CreateGenesetDialogue extends React.PureComponent {
const { genesetsUI, genesets } = this.props;
return (
<Dialog
<>
<Dialog
icon="tag"
title="Create gene set"
isOpen={genesetsUI.createGenesetModeActive}
@@ -209,6 +210,7 @@ class CreateGenesetDialogue extends React.PureComponent {
</div>
</form>
</Dialog>
</>
);
}
}
@@ -109,7 +109,8 @@ class RenameGeneset extends React.PureComponent {
} = this.props;
return (
<AnnoDialog
<>
<AnnoDialog
isActive={genesetsUI.isEditingGenesetName === originalGenesetName}
inputProps={{
"data-testid": `${genesetsUI.isEditingGenesetName}:rename-geneset-dialog`,
@@ -160,6 +161,7 @@ class RenameGeneset extends React.PureComponent {
handleSubmit={this.renameGeneset}
handleCancel={this.disableEditGenesetNameMode}
/>
</>
);
}
}
+10 -5
View File
@@ -935,7 +935,7 @@ class Graph extends React.Component {
}
}
function ErrorLoading({ displayName, error, width, height }) {
const ErrorLoading = ({ displayName, error, width, height }) => {
console.log(error); // log to console as this is an unepected error
return (
<div
@@ -949,10 +949,14 @@ function ErrorLoading({ displayName, error, width, height }) {
<span>{`Failure loading ${displayName}`}</span>
</div>
);
}
};
function StillLoading({ displayName, width, height }) {
return <div
const StillLoading = ({ displayName, width, height }) =>
/*
Render a busy/loading indicator
*/
(
<div
style={{
position: "fixed",
fontWeight: 500,
@@ -972,6 +976,7 @@ function StillLoading({ displayName, width, height }) {
<span style={{ fontStyle: "italic" }}>Loading {displayName}</span>
</div>
</div>
}
)
;
export default Graph;
@@ -167,7 +167,7 @@ class CentroidLabels extends PureComponent {
}
}
function Label({
const Label = ({
label,
dilatedValue,
coords,
@@ -177,7 +177,7 @@ function Label({
displayLabel,
onMouseEnter,
onMouseOut,
}) {
}) => {
/*
Render a label at a given coordinate.
*/
@@ -215,4 +215,4 @@ function Label({
</text>
</g>
);
}
};
+3 -1
View File
@@ -159,7 +159,8 @@ export default class LabelInput extends React.PureComponent {
};
const { queryResults } = this.state;
return (
<Suggest
<>
<Suggest
fill
inputValueRenderer={(i) => i.target}
items={queryResults}
@@ -171,6 +172,7 @@ export default class LabelInput extends React.PureComponent {
inputProps={inputProps}
onKeyDown={this.handleKeyDown}
/>
</>
);
}
}
+2 -2
View File
@@ -35,11 +35,11 @@ export default class MiniHistogram extends React.PureComponent {
}
};
componentDidMount() {
componentDidMount = () => {
this.drawHistogram();
};
componentDidUpdate(prevProps) {
componentDidUpdate = (prevProps) => {
const { obsOrVarContinuousFieldDisplayName, bins } = this.props;
if (
prevProps.obsOrVarContinuousFieldDisplayName !==
@@ -42,12 +42,12 @@ export default class MiniStackedBar extends React.PureComponent {
}
};
componentDidUpdate(prevProps) {
componentDidUpdate = (prevProps) => {
const { occupancy } = this.props;
if (occupancy !== prevProps.occupancy) this.drawStacks();
};
componentDidMount() {
componentDidMount = () => {
this.drawStacks();
};
+1 -1
View File
@@ -32,7 +32,7 @@ const SECOND_HALF_INNER_STYLE = {
right: 0,
};
export default function(props) {
export default (props) => {
const { children, isGenesetDescription, tooltipAddendum = "" } = props;
// Truncate only support a single child with a text child
+1 -1
View File
@@ -1,6 +1,6 @@
import { Colors } from "@blueprintjs/core";
import ENV_DEFAULT from "Code/cellxgene/environment.default.json";
import { dispatchNetworkErrorMessageToUser } from "./util/actionHelpers";
import ENV_DEFAULT from "../../environment.default.json";
/* overflow category values are created using this string */
export const overflowCategoryLabel = ": all other labels";
+3 -3
View File
@@ -3,7 +3,7 @@
## Requirements
- npm
- Python 3.10+
- Python 3.6+
- Chrome
[See dev section of README](../README.md)
@@ -148,6 +148,6 @@ If you would like to run the smoke tests against a hot-reloaded version of the c
### Tips
- You can also install/launch the server side code from npm scrips (requires python3.10 with virtualenv) with the `scripts/backend_dev` script.
- You can also install/launch the server side code from npm scrips (requires python3.6 with virtualenv) with the `scripts/backend_dev` script.
- Check out [e2e Tests](e2e_tests.md) for more details
- Check out [e2e Tests](e2e_tests.md) for more details
+23 -31
View File
@@ -11,10 +11,9 @@ $PROJECT_ROOT`.
### Build
**Usage:** from the `$PROJECT_ROOT` directory run:
- `make build` builds whole app client and server
- `make build-client` runs webpack build
- `make build-for-server-dev` builds client and copies output directly into
* `make build` builds whole app client and server
* `make build-client` runs webpack build
* `make build-for-server-dev` builds client and copies output directly into
source tree (only for server devlopment)
### Clean
@@ -22,19 +21,17 @@ $PROJECT_ROOT`.
Deletes generated files.
**Usage:** from the `$PROJECT_ROOT` directory run:
- `make clean` cleans everything including node modules (means build with take
* `make clean` cleans everything including node modules (means build with take
a while
- `make clean-lite` cleans built directories
- `make clean-server` cleans source tree
* `make clean-lite` cleans built directories
* `make clean-server` cleans source tree
### Distribution
Creates distribution for python module to upload to pypi.
**Usage:** from the `$PROJECT_ROOT` directory run:
- `make pydist` builds code and then builds sdist
* `make pydist` builds code and then builds sdist
### Release
@@ -45,18 +42,16 @@ See `release_process.md`.
Installs requirements files.
**Usage:** from the `$PROJECT_ROOT` directory run:
- `make dev-env` installs requirements and requirments-dev (for building code)
* `make dev-env` installs requirements and requirments-dev (for building code)
### Installing cellxgene packages
**Usage:** from the `$PROJECT_ROOT` directory:
- `install-dev` - installs from local source tree
- `install-release-test` - installs from test pypi
- `install-release` - installs from pypi
- `install-dist` - installs from local dist folder
- `uninstall` - uninstalls cellxgene
* `install-dev` - installs from local source tree
* `install-release-test` - installs from test pypi
* `install-release` - installs from pypi
* `install-dist` - installs from local dist folder
* `uninstall` - uninstalls cellxgene
## Client-level scripts
@@ -67,9 +62,8 @@ Installs requirements files.
**About** Serve the current client javascript independently from the `server` code.
**Requires**
- The server to be running. Best way to do this is with [backend_dev](#backend_dev).
- `make ci` to install the necessary node modules
* The server to be running. Best way to do this is with [backend_dev](#backend_dev).
* `make ci` to install the necessary node modules
**Usage:** from the `$PROJECT_ROOT/client` directory run `make start-frontend`
@@ -81,24 +75,23 @@ the FE developer gets the current version of the backend with a single command
and no knowledge of python necessary. It creates and activates a virtual
environment and installs cellxgene from the current branch.
**Requires** `Python3.10+`, `virtual-env`, `pip`
**Requires** `Python3.6+`, `virtual-env`, `pip`
**Usage:** from the `$PROJECT_ROOT` directory run `./scripts/backend_dev`
**Options:**
- In parallel, you can then launch the node development server to serve the
* In parallel, you can then launch the node development server to serve the
current state of the FE with [`start-frontend`](#start-frontend), usually in
a different terminal tab.
- You can also select a specific dataset using `DATASET=<dataset path> ./scripts/backend_dev`.
- You can also use `CXG_OPTIONS` to pass options to the `cellxgene launch`
* You can also select a specific dataset using `DATASET=<dataset path> ./scripts/backend_dev`.
* You can also use `CXG_OPTIONS` to pass options to the `cellxgene launch`
command, as in `CXG_OPTIONS='--disable-annotations' ./scripts/backend_dev`.
**Breakdown**
| command | purpose |
| ---------------------------------------- | ---------------------------------------------------------- |
| python3.12 -m venv cellxgene | creates cellxgene virtual environment |
| python3.6 -m venv cellxgene | creates cellxgene virtual environment |
| source cellxgene/bin/activate | activates virtual environment |
| yes \| pip uninstall cellxgene \|\| true | uninstalls cellxgene (if installed) |
| pip install -e . | installs current local version of cellxgene |
@@ -109,15 +102,14 @@ environment and installs cellxgene from the current branch.
Methods used to test the client javascript code
**Usage:** from the `$PROJECT_ROOT/client` directory run:
- `make unit-test` Runs all unit tests. It excludes any tests in the e2e
* `make unit-test` Runs all unit tests. It excludes any tests in the e2e
folder. This is used by travis to run unit tests.
- `make smoke-test` Starts backend development server and runs end to end
* `make smoke-test` Starts backend development server and runs end to end
tests. This is what travis runs. It depends on the `e2e` and the
`backend-dev` targets. One starts the server, the other runs the tests. If
developing a front-end feature and just checking if tests pass, this is
probabaly the one you want to run.
- `npm run e2e` Runs backend tests without starting the server. You will need to
* `npm run e2e` Runs backend tests without starting the server. You will need to
start the rest api separately with the pbmc3k.h5ad file. Note you can use
the `JEST_ENV` environment variable to change how JEST runs in the browser.
The test runs against `localhost:3000` by default. You can use the
+1 -1
View File
@@ -2,7 +2,7 @@ import logging
import sys
from server.common.utils.utils import import_plugins
__version__ = "1.3.0"
__version__ = "1.2.0"
display_version = "cellxgene v" + __version__
try:
+1 -1
View File
@@ -20,4 +20,4 @@ PyYAML>=5.4 # CVE-2020-14343
requests>=2.22.0
s3fs==0.4.2
scipy>=1.4
setuptools
setuptools
+3 -4
View File
@@ -14,7 +14,7 @@ with open("server/requirements-annotate.txt") as fh:
setup(
name="cellxgene",
version="1.3.0",
version="1.2.0",
packages=find_packages(),
url="https://github.com/chanzuckerberg/cellxgene",
license="MIT",
@@ -37,9 +37,8 @@ setup(
"Operating System :: MacOS :: MacOS X",
"Programming Language :: JavaScript",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering :: Bio-Informatics",
],
@@ -134,7 +134,7 @@ float_OK_cases = [
np.arange(-128, 1000, dtype=dtype),
pd.Series(np.arange(-128, 1000, dtype=dtype)),
pd.Index(np.arange(-129, 1000, dtype=dtype)),
np.array([-np.nan, -np.inf, -1, -0.0, 0, 0.0, 1, np.inf, np.nan], dtype=dtype),
np.array([-np.nan, np.inf, -1, 0.0, 0, 0.0, 1, np.inf, np.nan], dtype=dtype),
np.array([np.finfo(dtype).min, 0, np.finfo(dtype).max], dtype=dtype),
sparse.csr_matrix((10, 100), dtype=dtype),
]