Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: hms-dbmi/vizarr
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7cb694c1717af815a3060c7343c268e36785d2ca
Choose a base ref
..
head repository: hms-dbmi/vizarr
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 30c9e3b4195c47d08aa41c955072407e02cc623f
Choose a head ref
Showing with 9 additions and 9 deletions.
  1. +3 −3 src/ome.ts
  2. +6 −6 src/types.ts
6 changes: 3 additions & 3 deletions src/ome.ts
Original file line number Diff line number Diff line change
@@ -86,7 +86,7 @@ export async function loadWell(
const sourceData: SourceData = {
loaders,
...meta,
axis_labels: axis_labels,
axis_labels,
loader: [loaders[0].loader],
model_matrix: utils.parseMatrix(config.model_matrix),
defaults: {
@@ -209,7 +209,7 @@ export async function loadPlate(
const sourceData: SourceData = {
loaders,
...meta,
axis_labels: axis_labels,
axis_labels,
loader: [loaders[0].loader],
model_matrix: utils.parseMatrix(config.model_matrix),
defaults: {
@@ -258,7 +258,7 @@ export async function loadOmeMultiscales(
const labels = await resolveOmeLabelsFromMultiscales(grp);
return {
loader: loader,
axis_labels: axis_labels,
axis_labels,
model_matrix: config.model_matrix
? utils.parseMatrix(config.model_matrix)
: utils.coordinateTransformationsToMatrix(attrs.multiscales),
12 changes: 6 additions & 6 deletions src/types.ts
Original file line number Diff line number Diff line change
@@ -35,13 +35,13 @@ declare namespace Ome {

type CoordinateTransformation =
| {
type: "scale";
scale: Array<number>;
}
type: "scale";
scale: Array<number>;
}
| {
type: "translation";
translation: Array<number>;
};
type: "translation";
translation: Array<number>;
};

interface Dataset {
path: string;