Skip to content

Commit 433deb9

Browse files
fix skeleton server tracing type in accordance with what the server returns -> fixes e2e type checking
1 parent cba1273 commit 433deb9

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

frontend/javascripts/test/fixtures/skeletontracing_server_objects.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const TRACING_ID = "skeletonTracingId-47e37793-d0be-4240-a371-87ce68561a13";
1111
export const tracing: ServerSkeletonTracing = {
1212
typ: AnnotationLayerEnum.Skeleton,
1313
id: TRACING_ID,
14-
datasetName: "ROI2017_wkw",
1514
trees: [
1615
{
1716
treeId: 2,

frontend/javascripts/test/fixtures/tasktracing_server_objects.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import { ViewModeValues } from "viewer/constants";
99
const TRACING_ID = "skeletonTracingId-e90133de-b2db-4912-8261-8b6f84f7edab";
1010
export const tracing: ServerSkeletonTracing = {
1111
typ: "Skeleton",
12-
datasetName: "ROI2017_wkw",
1312
trees: [
1413
{
1514
nodes: [

frontend/javascripts/test/sagas/proofreading/proofreading_skeleton_test_utils.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ export function createSkeletonTracingFromAdjacency(
112112
};
113113

114114
const tracing: ServerSkeletonTracing = {
115-
datasetName: "is-ignored-anyway",
116115
id: tracingId,
117116
userBoundingBoxes: [],
118117
userBoundingBox: undefined,

frontend/javascripts/types/api_types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,6 @@ export type SkeletonUserState = {
953953
export type ServerSkeletonTracing = ServerTracingBase & {
954954
// The following property is added when fetching the
955955
// tracing from the back-end (by `getTracingForAnnotationType`)
956-
datasetName: string; // still part of the proto file, might be outdated. Do not rely on correct values.
957956
typ: "Skeleton"; // This is done to simplify the selection for the type.
958957
activeNodeId?: number; // only use as a fallback if userStates is empty
959958
boundingBox?: BoundingBoxProto;

0 commit comments

Comments
 (0)