Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add UI for 4th dimension and mock 4D data when requesting buckets * adapt bucket address space to incorporate higher dimension * clean up imports * add slider to Q input field; tune mocked 4D data retrieval * change max value of number slider * make skeletons compatible with higher dimensions * fix tests; improve typing; create CubeEntry instances lazily * fix linting * use n-dimensional generalization instead of fourth coordinate everywhere * fix resampling of buckets when annotating volume data in higher dimensions * add additionalCoordinates parameter to several other places * hardcode additionalCoords initialization * tackle more todo comments * adapt additionalCoordinates input UI to arbitrary dimensions; use two additional coordinates as hardcoded ones * dynamically generate shaders for nodes and edges to deal with arbitrary ND data * make edges interpolate from alpha 1 to 0 if edge partner is on other dimension * Add additional coordinates for 4+D requests * begin integration of backend additionalCoordinate interface * change frontend format for additional coordinates from number-array to array of objects (analoguous to backend) * Add additional coords to db * Fix naming * remove hardcoded additional coordinates related to DataCube class * properly initialize flycam with additional coordinates * make that arrow keys in vector input increment/decrement element where cursor is at * fix onChange in additional-coordinate-input * use bounds of additional unified coordinates in slider * don't hardcode additional coordinate length in skeleton.ts; guard against underspecified additional coords when setting them in the flycam * fix rendering of skeletons in higher dimensions * export/import additional coordinates in NML (front-end import/export only) * ensure api.getDataValue receives additionalCoordinates parameter everywhere * also fallback to stores additionalCoordinates when they are not provided to api * remove second-last todo comment * Add additional coords as paramters for volume actions * Add editPositionAdditionalCoordinates to tracings * Implement n-dimensional morton code * Start implementation of volume tracing n-d fossildb access * Add additional coordinates to skeleton nodes * fix runtime exception when no additional coordinates exist; fix initialization of flycam * remove todo comment * rename additionalCoords to additionalCoordinates everywhere * fix typing * fix delayed update * hotfix missing additionalCoordinates for volume layer * pass additionalCoordinates everywhere SegmentItem- and MeshItem-related around * clicking on a segment list should activate its additionalCoordinates if they exist * fix linting * fix cyclic dependencies * rename to someAdditionalCoordinates * also store additional coordinates in json-encoded url state * show dimensions as addonBefore in AdditionalCoordinates input box * clean up * also maintain editPositionAdditionalCoordinates in frontend * Add additional coordinates to tracings * Read additional coordinate bounds from zarr header * Store additional coordinate as a vec2int in proto * store additionalCoordinates for volume and skeleton layers * Increment evolution number * fix cube.spec and volume_annotation_sampling.spec * fix wkstore_adapter spec * fix volumetracing_saga.spec * fix nml.spec.ts * fix url manager spec * fix skeleton spec by ensuring singletons are set up * fix saga_integration.spec * Remove nd morton code, use 3d morton code always * update documentation package to fix parser crash * Apply suggestions from code review Co-authored-by: Daniel <[email protected]> * DRY assertion * fix camel case * undo changes in v2 api * avoid several THREE.BufferAttribute casts * add comment about additionalCoordinates = null in bucket pickers * add emit-rerender comment * use bounds[0] as a fallback value when additional Coordinates are missing in an update action * warn when meshing >3d segmentations * fix initialization of additional coordinates from url state * change additional coordinates format in xml to sth like additionalCoordinate-t=10 * remove unneeded functions in nml_helpers * fix scala compilation on CI * format * format backend * test nml import/export with additional coordinates * add test for setting additional coords in flycam * Some sort of sorting * Increment evolution number * Add comment in datasetarray, remove todos * fix linting * Update NML import/export for additional coordinates * Update snapshots * Sort additional coordinates when building bucket key * Update snapshots again * fix yarn.lock * Fix volume tracing bucket key not including additional coordinates because the datalayer did not have them * fix styling of additional-coordinate UI in light theme * also serialize additional coordinates for editPosition and layer itself into NML in frontend * show additional coords in context menu and status bar * Add test for bucket keys with additional coordinates (and nml) * Rename additionalCorrdinate to definition * Assert additional coordinates are the same when merging * Add additional coordinate tests * Update changelog * Remove TODOs * add warning for ai-quick-select for n-d datasets * enforce valid values for additional coordinates in UI * fix tests * fix nml test and add a new one for additional coords * Lint backend * remove t from axis order, allow mag paths relative to dataset dir * improve and fix snapshot tests * prevent user from exporting/downloading layers with nd data * Fix simple refactorings * Rename additionalCoordinateDefinition to additionalAxis * Rename additionalCoordinateRequest to additionalCoordinate * Continue renaming * rename additionalCoordinateWithBounds to AdditionalAxis and adapt to naming change in backend * Do not require migration of bucket keys * update snapshots * Lint backend * Rename Segment->additionalCoordinates to anchorPositionadd.. * Remove unused method * Remove exception throwing * Fix renaming issues * Fix upload of annotations --------- Co-authored-by: frcroth <[email protected]> Co-authored-by: frcroth <[email protected]> Co-authored-by: Daniel <[email protected]> Co-authored-by: Florian M <[email protected]> Co-authored-by: Florian M <[email protected]>
- Loading branch information