Skip to content

Commit

Permalink
use original versa demo image
Browse files Browse the repository at this point in the history
  • Loading branch information
froyo-np committed Dec 2, 2024
1 parent 06a9f2f commit d70d164
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions examples/src/omezarr/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import { RenderServerProvider } from '~/common/react/render-server-provider';
import { SliceView } from './sliceview';
import { type OmeZarrDataset, loadOmeZarr } from '@alleninstitute/vis-omezarr';

// const demo_versa = 'https://neuroglancer-vis-prototype.s3.amazonaws.com/VERSA/scratch/0500408166/';
const SPST = 'https://allen-genetic-tools.s3.us-west-2.amazonaws.com/tissuecyte/1263343692/ome-zarr/';
const demo_versa = 'https://neuroglancer-vis-prototype.s3.amazonaws.com/VERSA/scratch/0500408166/';
export function AppUi() {
return <DataPlease />;
}
Expand All @@ -13,7 +12,7 @@ function DataPlease() {
// load our canned data for now:
const [omezarr, setfile] = useState<OmeZarrDataset | undefined>(undefined);
useEffect(() => {
loadOmeZarr(SPST).then((dataset) => {
loadOmeZarr(demo_versa).then((dataset) => {
setfile(dataset);
console.log('loaded!');
});
Expand Down
6 changes: 3 additions & 3 deletions examples/src/omezarr/sliceview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ type Props = {
const settings: RenderSettings = {
tileSize: 256,
gamut: {
R: { gamut: { min: 0, max: 1000 }, index: 0 },
G: { gamut: { min: 0, max: 6000 }, index: 1 },
B: { gamut: { min: 0, max: 600 }, index: 2 },
R: { gamut: { min: 0, max: 80 }, index: 0 },
G: { gamut: { min: 0, max: 100 }, index: 1 },
B: { gamut: { min: 0, max: 100 }, index: 2 },
},
plane: 'xy',
planeIndex: 3,
Expand Down

0 comments on commit d70d164

Please sign in to comment.