bmccandless
2cc02a84cb
Convert float annotations if possible. ( #1987 )
...
* Convert float annotations if possible.
The client converts all arrays to floats.
If a category contains integer labels, and that category is copied, it will contains floats (e.g 1.0 instead of 1).
When that category is put back to the server, it fails in the tiledb code, which does not accept floats.
The solution is to convert a float category to integer, if possible.
#1984
* updates
2020-11-20 17:01:53 -06:00
8bbc183647
Explicit Browser Support ( #1682 )
...
* add FastestSmallestTextEncoderDecoder polyfill
* remove nomodule from script import
* add browserslist
* add obsolete-webpack-plugin
* switch out modern-browser for preset-env
* add prompt on non target browser
* propagate prod changes to dev
* add core-js-3 and TextEncoder TextDecoder (#1671 )
* add script to remove react, style html
* propagate changes to prod
* add script-ext-html-webpack-plugin for async
* more styling
* add eslint-plugin-compat
* extend compat plugin
* add existing polyfills
* add github fetch polyfill
* add AbortController polyfill
* change promptOnNonTargetBrowser to false
* propagate
* add browser links
* prettier
* add browser support to readme
* move polyfills to webpack
* remove CDN encoder polyfill
* Add no Explorer support
* fix incorrect package name
* propagate changes
* Update README.md
Co-authored-by: Ambrose J Carr <ambrosejcarr@users.noreply.github.com >
* add new deps
* create shared config
* swap out html-loader for filestream
* sanitize template
Co-authored-by: Timmy Huang <tihuan@users.noreply.github.com >
Co-authored-by: Ambrose J Carr <ambrosejcarr@users.noreply.github.com >
2020-08-03 12:50:09 -07:00
Bruce Martin
2ba4944f5c
initial bug fixes and test improvements for the matrix refactor ( #1503 )
...
* initial bug fixes and test improvements for the matrix refactor
* lint
2020-06-02 09:47:40 -07:00
Severiano Badajoz
6cccc41c0f
run prettier(2.0.5) ( #1438 )
2020-05-04 10:26:42 -07:00
Bruce Martin
3660a6cc27
Experimental - manual annotations ( #837 )
...
* icons, partway
* redux for values
* onChange
* cancel
* annotations lifecycle for category names
* copy categorical
* edit category
* add Dataframe.withColsFrom
* render user annotations; default add/delete annotation category
* add label name to actions
* category name edit
* error checking improvements
* change schema field isUserAnnotation to writable
* always have an unassigned label; implement delete label
* implement add new label and edit label name
* label current cell selection
* fix select exact bug in crossfilter
* clean up categorical reducer
* fix tests
* remove debugging printf
* implement subset/reset for user annotations
* undo redo support for user annotations
* remove duplicate button from categories
* add modal
* remove obsolete duplicate annotation reducers
* remove old debugging printf
* connect modal to annotation create and dup
* initial full-stack wiring
* finish up end-to-end wiring
* fix existing unit tests
* fix pytests to match new schema API
* remove debugging printfs
* add label file rotation
* remove obsolete comment
* add fbs encode/decode tests
* add tests for writable annotations
* simplify code
* fix hashing bug with FBS encoding
* lint
* fix smoke tests
* improve error checking in Dataframe.withColsFrom
* add unit test for Dataframe.withColsFrom
* add unit test for Dataframe.columns and Dataframe.renameCol
* fix bug in FBS encode, add better error checks, refactor
* add FBS encode/decode test
* add clarifying comment
* clean up action type names; fix state inconsistency in crossfilter update
* change autosave timer to 2.5sec
* sort categorical metadata render order so it remains consistent
* add temporary autogenerated label for add-new-label operation
* fix hover-over label menu interference with cell highlighting
* remove debugging code
* add missing reducer cases & fix typo
* make dataframe memoize more general purpose
* add dev mode for annos
* fix error on select duplicate
* handle zero occupancy categories
* correctly maintain unclipped AND clipped world
* correctly handle zero length FBS matrix and label files
* ensure all writable categorical schema contains an unassigned category
* handle case where building occupancy stack for category with no members
* dialog for creating label, disable button if duplicate or empty
* visually separate writeable
* edit category
* fix edit category name
* remove debugging code
* fix edit annotation label
* visually define unassigned, change options
* Pull in requirements.txt from `master`
* label currently selected cells
* duplicate label
* lint
* fix pytest merge issues
* rename --label-file to --experimental-label-file
* remove debugging console log
* spelling error fix; fix bug found in PR review.
* lint
2019-09-18 07:33:41 -04:00
Bruce Martin
b90447c387
binary wire format with flatbuffers ( #509 )
...
* first flatbuffer schema
* do not lint auto-generated files
* add flatbuffers package
* add flatbuffer module
* wire up /data/X/T route
* use flatbuffers for matrix data fetc
* clarity and comments
* add flatbuffer layout route
* clean up obsolete code
* fix tests
* move flake8 config to setup.cfg
* add comments
* lint
* rework layout routes for fbs
* add more type support to fbs
* lint
* add flatbuffer support for annotations
* function name improvements
* fix botched merge with master
* remove unused import
* route cleanup for flatbuffers
* rename function for clarity
* add missing globals to Jest tests
* fix client JS tests
* fix routes for Python tests
* comments for clarity
* non-finite floating point hardening
* more non-finite number handling
* lint
* fix tests for summarizeAnnotations
* harden diffexp calculation against FP errors
* cleanup unused code
* lint
* add encoding tests for flatbuffers
* application type specified as strings
* fix spelling error
* improve variable names
* add note about documentation gap
* rename FBS DataFrame to Matrix
2019-01-09 14:26:05 -08:00