Skip to content

Commit bac1d63

Browse files
committed
fix(datasource/graphene) find path tool now accepts floats for rep_coord_nm
1 parent 0228619 commit bac1d63

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/datasource/graphene/frontend.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,6 @@ import {
184184
verifyFinitePositiveFloat,
185185
verifyFloatArray,
186186
verifyInt,
187-
verifyIntegerArray,
188187
verifyNonnegativeInt,
189188
verifyObject,
190189
verifyObjectProperty,
@@ -2209,7 +2208,7 @@ class GrapheneGraphSource extends SegmentationGraphSource {
22092208
centroids = l2_path
22102209
.map((id) => {
22112210
return verifyOptionalObjectProperty(attributes, id, (x) => {
2212-
return verifyIntegerArray(x["rep_coord_nm"]);
2211+
return verifyFloatArray(x["rep_coord_nm"]);
22132212
});
22142213
})
22152214
.filter((x): x is number[] => x !== undefined);

0 commit comments

Comments
 (0)