AllenCell / AllenCell/vole-core

use setChannelOptions more

Open
#159 0 comments 0 reactions 0 assignees View on GitHub
milestone candidate Tech Debt
Dominant language
TypeScript
Stars
106
Forks
11
Avg merge
3d 51m
Merged PRs (30d)
12

Description

## Use Case

We have too many code paths for setting the same settings.

## Solution

For all of the top-level View3d api calls that set very specific data, we should have their internal implementations all be routed into our more generalized setChannelOptions. We can do this without changing the View3d api.

## Alternatives

API changes to deprecate the single setting functions and then enforce setChannelOptions as the only public API is a bigger decision that has less effect on stability and could be considered separately.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.