Charlotte Weaver
d31c05c970
Add backed script to package.json ( #566 )
...
* QOL script for FE devs to get & launch the backend
* ensure python3.6
* changed name to backend-dev
2019-01-29 11:41:05 -08:00
Charlotte Weaver
ecaa32cfb2
bump version ( #563 )
2019-01-17 17:14:44 -08:00
Charlotte Weaver
10693b08cc
Add __init__ file so fbs can be imported ( #562 )
2019-01-17 17:11:31 -08:00
Charlotte Weaver
b02361a6bf
bump version ( #560 )
2019-01-17 16:54:25 -08:00
Charlotte Weaver
394da40bea
Doc formatting improvements ( #549 )
2019-01-10 15:09:02 -08:00
Charlotte Weaver
f0f7200f0b
Move jsonification to engine level ( #511 )
2018-12-18 21:14:24 -08:00
Charlotte Weaver
46ad346df1
Clarify that we do not support python 3.7 ( #512 )
...
* Update setup.py
* Readme: no python 3.7
* specify 3.6 in venv
* clarify 3.7 error
we will support it eventually
2018-12-13 15:15:56 -08:00
Charlotte Weaver
83154577e4
Black -- formatter for python ( #508 )
...
* Add black
* use black to format code
* Black version
2018-12-12 09:44:47 -08:00
Charlotte Weaver
a847951658
Update slack link ( #506 )
2018-12-11 10:20:22 -08:00
Charlotte Weaver
24af6efbcb
Add Docker file ( #505 )
...
* Add docker support
* Add readme
* minor fixes
2018-12-11 10:18:10 -08:00
Charlotte Weaver
9604231a2a
Add alternative to install [louvain] extra requires ( #500 )
...
* louvain install by hand
* reworded
2018-12-10 14:46:55 -08:00
Charlotte Weaver
0d0a32f272
Added PR guidelines ( #492 )
...
* Added PR guidelines
Added document to cover guidelines for creating, reviewing and merging PRs.
* fixed typo
* another typo
* grammar
* Remove 5's title
The subheading is clearer as a top-level
2018-12-06 13:43:10 -08:00
Charlotte Weaver
5c6cc597c8
Default warning in debug mode ( #497 )
2018-12-05 13:38:34 -08:00
Charlotte Weaver
1e66ec2b89
Update scikit learn ( #487 )
...
They finally fixed their cloud pickle issue
2018-11-30 12:02:28 -08:00
Charlotte Weaver
4a50f0ed46
External host option ( #481 )
...
* allow specifying host ip instead of listen all
* flask serving
* Limit to ip addresses only
2018-11-29 17:01:49 -08:00
Charlotte Weaver
76c0cbf16b
loose -> lose ( #479 )
2018-11-28 13:07:10 -08:00
Charlotte Weaver
455d987398
Add custom format for warnings ( #477 )
...
[cellxgene] Warning: <message>
2018-11-28 12:47:11 -08:00
Charlotte Weaver
28f5263c88
bump version ( #475 )
2018-11-27 15:43:19 -08:00
Charlotte Weaver
0c26f227fe
bump version ( #470 )
2018-11-26 15:38:47 -08:00
Charlotte Weaver
43a4e087ef
Fix formatting issues ( #468 )
...
- Fix step 8 bullets
- Appropriate capitalization
- Add link to release notes doc
2018-11-26 13:52:00 -08:00
Charlotte Weaver
f2612707bb
bumped version ( #466 )
2018-11-26 11:42:56 -08:00
Charlotte Weaver
2b5094665f
version 0.2.0 ( #456 )
2018-11-16 15:12:54 -08:00
Charlotte Weaver
3475f3f12e
Update release_process.md ( #443 )
...
* Update release_process.md
* Clarified release process
2018-11-16 14:36:43 -08:00
Charlotte Weaver
1a5f49239a
Release 0.0.4 ( #447 )
...
* 0.0.3 bump
* release 0.0.4
2018-11-15 16:43:59 -08:00
Charlotte Weaver
dfc04d8de5
Add requirements to manifest ( #445 )
2018-11-15 11:56:22 -08:00
Charlotte Weaver
07cda497d9
build bug fixes ( #438 )
...
* Fixes compatibility conflict with numpy version and anndata version #434
* Forces description to be read as unicode
fixes #435
2018-11-14 14:21:02 -08:00
Charlotte Weaver
bc0cecbd1c
Release Test ( #427 )
...
* bump-update
* Release Test!
2018-11-14 11:03:52 -08:00
Charlotte Weaver
47ce0cfc49
Update release_process.md ( #428 )
2018-11-09 16:58:01 -08:00
Charlotte Weaver
018e3ae5c4
bump-update ( #426 )
2018-11-09 14:17:07 -08:00
Charlotte Weaver
aa29c91470
Prepare fixes ( #416 )
...
* Error on overwrite=false but no output file
* Add prepare requirements to requirements.txt
* no saved output error -> warning
* Catch clustering import error
* lint fixes
* Fix missing output message
2018-11-09 13:51:30 -08:00
Charlotte Weaver
dd56d0937c
fix anaconda build ( #421 )
...
* fix anaconda build
* Added link for TKAgg
* Add matplotlib to requirements
We are pulling it in through scanpy, but since we are importing it directly we should include it explicitly
2018-11-09 13:22:45 -08:00
Charlotte Weaver
dfcef6075e
add updating the cli version ( #420 )
...
* add updating the cli version
* remove bdist_wheel -- no platform specific needs
2018-11-09 12:52:10 -08:00
Charlotte Weaver
b4edd56735
Requirements updates ( #422 )
...
* Unpin requirements that do not need to be fixed
* add twine to dev requirements
* Add versions to dev too
2018-11-09 12:50:15 -08:00
Charlotte Weaver
1dc80145dc
Add bumpversion ( #423 )
...
* Add bumpversion
* Update readme for bumpversion
2018-11-09 10:01:02 -08:00
Charlotte Weaver
7d5c054b90
Launch validation ( #414 )
...
* WIP
* Cleanup
* Validation
* typo
* Max category limit 100 -> 500
2018-11-07 13:01:13 -08:00
Charlotte Weaver
26d222cd75
Move computation options to app ( #386 )
...
no need to import scanpy engine for CLI help so speeds up time response
2018-10-26 17:07:21 -07:00
Charlotte Weaver
6c23a72e5f
CLI renaming and phrasing ( #385 )
...
* Minor naming and phrasing changes from UX review
* category-selection-limit -> max-category-items
* Indicate load may taking a long time
* program -> command (for launch, prepare)
* debug -> verbose
* flask-debug -> debug
* Developer mode for debug
verbose on
open browser off
* move examples from epilogue to prefix
2018-10-26 15:59:34 -07:00
Charlotte Weaver
16b0741a6c
Hide stack traces unless in debug mode ( #384 )
2018-10-26 13:36:53 -07:00
Charlotte Weaver
94f95d6565
CLI Launch ( #366 )
...
* Scanpy engine now required
Without the --engine param we need to error if scanpy engine cannot be imported rather than waiting for all engines
* CLI options and help matches proposal
(but not all options hooked up yet)
* Flesh out top level args
* Move computation args to engine
* CLI input file (#374 )
* Fix test command
(tests still won't work)
* Input is file instead of directory
- also renamed example file
* Csweaver/debug (#376 )
* Respect debug flag for logging flask calls
* Add loading messages
* max categories (#377 )
* Add max categories
* Rename max_categories to category_selection_limit
* ensure whole numbers
2018-10-24 19:28:59 -07:00
Charlotte Weaver
02b2349807
Pin scikit-learn to fix imp error ( #375 )
2018-10-24 14:46:34 -07:00
Charlotte Weaver
9e5114a730
Ignore built media files ( #372 )
2018-10-24 13:02:17 -07:00
Charlotte Weaver
85f44ccabf
Converts NaNs in pval to 1s ( #365 )
2018-10-24 10:57:29 -07:00
Charlotte Weaver
4ec938c166
Prefix client build ( #367 )
2018-10-23 15:56:57 -07:00
Charlotte Weaver
efb55a6332
Renaming bind-all option to listen-all ( #353 )
...
See discussion here https://docs.google.com/document/d/1tcAvODhdlUUAOJPHoGQB3fWOPmnw3XjK7MVhDRwNUnk/edit#
2018-10-19 15:26:19 -07:00
Charlotte Weaver
2a3577f32b
flask debug as hidden option ( #352 )
...
* Remove flask debug flag
* Add debug flag as a hidden option to keep reload on change for developers
2018-10-19 10:24:15 -07:00
Charlotte Weaver
06f402ab0a
Do not calculate layout, used saved layout instead ( #343 )
...
* Do not calculate layout, used saved layout instead
See for rationale: https://docs.google.com/document/d/1HJFvbdDHxxgkCW0DZzdTZ9CUMgc2ef2rQFukATBQWvE/edit
* Error handling for when layout has not been precomputed
* Server error (500) not client error (400) for unprepared data
2018-10-18 11:51:38 -07:00
Charlotte Weaver
7c8b89eba3
Launch browser to cellxgene ( #325 )
...
* Launch browser to cellxgene
Also added --no-launch command line parameter
* Don't launch browser for tests
* rename no-launch to no-open
* Rejigger -no-open to positive destination
so later logic looks cleaner
2018-10-17 16:46:56 -07:00
Charlotte Weaver
2e9d576890
Correct capitalization in swagger template ( #320 )
2018-10-11 16:43:26 -07:00
Charlotte Weaver
3229babd14
Add caching back in ( #312 )
...
* Add caching back in
Works now against filter instead of dataframe view
* Layout cache and move post->put
* Fix tests
2018-10-11 16:29:46 -07:00
Charlotte Weaver
b90292ce4c
Bump interactive limits ( #319 )
2018-10-11 15:56:58 -07:00
Charlotte Weaver
210787cb5d
Filter in engine ( #307 )
...
* Add empty filter case
* Filtering dataframes moved to engine instead of rest
* minor changes from PR review
* Minor fixes from PR review
Pass {} instead of none if no filter
chain exceptions
typos
2018-10-11 15:23:31 -07:00
Charlotte Weaver
eb3b3fc59a
Reorganize order of methods in engine and rest ( #305 )
2018-10-10 16:44:05 -07:00
Charlotte Weaver
dce778f658
Config file is obsolete ( #303 )
2018-10-09 11:19:19 -07:00
Charlotte Weaver
11ef5ae51b
REST Error handling ( #299 )
...
* Use HTTPStatus for all responses
More informative than just the code as an int
* Fill out REST error handling
* Test error routes
* Use HTTP Status for tests too
* factor mime type request into function
* Better mimetype errors
* 404 -> 400 error for bad key
2018-10-08 14:17:56 -07:00
Charlotte Weaver
8be0833d23
/layout put-> post ( #301 )
2018-10-08 13:38:13 -07:00
Charlotte Weaver
187bbfdcf7
/data/var ( #295 )
...
* Upgrade version of scanpy
* /data/var
This works for everything except the case where there is only one gene. Anndata flattens X when there is only one var thus causing the transpose to fail.
* Fix edge case when an axis (obs/var) only contains 1 element
2018-10-03 15:09:46 -07:00
Charlotte Weaver
d09c820c1b
Commit package-lock.json ( #289 )
2018-10-02 13:12:57 -07:00
Charlotte Weaver
023fd01957
Added "filter" level for var filter to match other filters ( #267 )
2018-09-24 15:09:34 -07:00
Charlotte Weaver
1712114c9d
Merge pull request #190 from chanzuckerberg/revert-179-csweaver/api-v2-init
...
Revert "Format loaded dataset"
2018-08-14 10:43:15 -07:00
Charlotte Weaver
39414503bd
Revert "Format loaded dataset"
2018-08-14 10:40:21 -07:00
Charlotte Weaver
451c930cb5
Merge pull request #186 from chanzuckerberg/csweaver/gitignore
...
Cleanup .gitignore
2018-08-14 09:52:43 -07:00
Charlotte Weaver
9d680cf8d8
Merge pull request #179 from chanzuckerberg/csweaver/api-v2-init
...
Format loaded dataset
2018-08-13 16:02:07 -07:00
Charlotte Weaver
b884487789
Merge branch 'master' into csweaver/api-v2-init
2018-08-13 15:48:06 -07:00
Charlotte Weaver
ddaa7016a5
Quote formatting
...
' => "
2018-08-13 15:00:23 -07:00
Charlotte Weaver
a29ba8da4e
Limit pytest ignore warning to only one specific warning
2018-08-13 15:00:06 -07:00
Charlotte Weaver
463cdef08b
Cleanup .gitignore
...
remove lines related to old separate repo version
add ignore for virtual environments and jupyter notebooks (I use them to test)
2018-08-13 14:35:41 -07:00
Charlotte Weaver
c8c098282d
Merge pull request #185 from chanzuckerberg/csweaver/favicon
...
Csweaver/favicon
2018-08-13 10:56:39 -07:00
Charlotte Weaver
8c88f752ea
Merge pull request #182 from chanzuckerberg/csweaver/static
...
Set static folder to correct location
2018-08-13 10:48:09 -07:00
Charlotte Weaver
a4464d107f
Add test to make sure static files are served
...
this required that I break up the base url from the api route.
2018-08-13 10:33:59 -07:00
Charlotte Weaver
d44d267bda
Initial tests for the rest v2 refactor
...
testing the annotations and the data format validation
2018-08-10 16:57:41 -07:00
Charlotte Weaver
55fa9b892a
Splitting the format validation and mandatory annotations
2018-08-10 16:38:07 -07:00
Charlotte Weaver
21a1f00a64
Set static folder to correct location
2018-08-09 14:25:11 -07:00
Charlotte Weaver
e96653b826
Serving favicon correctly
2018-08-09 14:14:45 -07:00
Charlotte Weaver
58000c1815
Format loaded dataset
...
- create cell and gene ids
- recast numbers to float32/int32
2018-08-09 11:23:43 -07:00
Charlotte Weaver
3961bdc46d
Merge pull request #166 from chanzuckerberg/csweaver/clean
...
Added clean script for cellxgene
2018-08-09 10:22:13 -07:00
Charlotte Weaver
004303300b
-f flag for file removal too
2018-08-09 10:09:19 -07:00
Charlotte Weaver
ba1e26138f
Merge pull request #167 from chanzuckerberg/csweaver/build-anywhere
...
Allow build-client to run anywhere
2018-08-09 09:45:47 -07:00
Charlotte Weaver
d093dc2e3b
Allow build-client to run anywhere
2018-08-08 15:17:23 -07:00
Charlotte Weaver
3f0bb2ce1d
Added clean script for cellxgene
2018-08-08 15:10:33 -07:00
Charlotte Weaver
246f4e41f0
Merge pull request #156 from chanzuckerberg/csweaver/infer-metadata
...
Infer schema if none exists
2018-08-08 11:56:13 -07:00
Charlotte Weaver
67504dcaff
Merge pull request #142 from chanzuckerberg/csweaver/cli-subparsers
...
Csweaver/cli subparsers
2018-08-08 11:52:38 -07:00
Charlotte Weaver
af85792cce
Don't forget unsigned ints!
2018-08-08 11:20:01 -07:00
Charlotte Weaver
f4780a9806
Moved add to parser out of try block.
2018-08-08 11:18:06 -07:00
Charlotte Weaver
2a11af2550
Formatting
2018-08-07 17:01:19 -07:00
Charlotte Weaver
2b698cc7d0
Merge remote-tracking branch 'origin/csweaver/cli-subparsers' into csweaver/cli-subparsers
2018-08-07 16:57:13 -07:00
Charlotte Weaver
e5c7c0c44a
Warn instead if print when scanpy isn't available
2018-08-07 16:57:07 -07:00
Charlotte Weaver
11f88a9eb2
Warn instead if print when scanpy isn't available
2018-08-07 16:49:40 -07:00
Charlotte Weaver
bf19bb7dce
Formatting
2018-08-07 16:38:25 -07:00
Charlotte Weaver
c2b3f331cf
Add layout and diffexp calculations to cli options
2018-08-07 16:37:47 -07:00
Charlotte Weaver
499b9551f1
moved scanpy parser to scanpy class
2018-08-07 16:37:02 -07:00
Charlotte Weaver
0969854e9e
Merge pull request #162 from chanzuckerberg/csweaver/require
...
Trimming out secondary dependencies from requirements
2018-08-07 16:14:28 -07:00
Charlotte Weaver
247b89ab0c
Update README.md
2018-08-07 15:54:25 -07:00
Charlotte Weaver
ccee3e0a38
api host 0.0.0.0 -> 127.0.0.1
2018-08-07 15:43:13 -07:00
Charlotte Weaver
c11ae77de4
Trimming out secondary dependencies from requirements
2018-08-07 12:53:48 -07:00
Charlotte Weaver
0db24a6c07
Merge pull request #157 from chanzuckerberg/csweaver/readme-data
...
Added instructions on how to load your own data in scanpy
2018-08-07 10:19:31 -07:00
Charlotte Weaver
9236f02637
Merge branch 'master' into csweaver/readme-data
2018-08-07 10:18:57 -07:00
Charlotte Weaver
16d7fac88e
Added instructions on how to load your own data in scanpy
2018-08-06 17:15:35 -07:00
Charlotte Weaver
a2b699b05d
Infer schema if none exists
2018-08-06 16:39:18 -07:00
Charlotte Weaver
12b8232327
Merge pull request #155 from chanzuckerberg/csweaver/pip-install
...
Use pip instead of python setup.py
2018-08-06 16:03:39 -07:00
Charlotte Weaver
a22a4e2473
Use pip instead of python setup.py
2018-08-06 14:56:42 -07:00