Skip to content

Commit 8c31e19

Browse files
committed
fix: align workflow forward-port with current mainline
1 parent d01ac9e commit 8c31e19

4 files changed

Lines changed: 53 additions & 55 deletions

File tree

client/src/views/MaskProofreading.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ import { render, screen } from "@testing-library/react";
33

44
import MaskProofreading from "./MaskProofreading";
55

6-
jest.mock("../EHTool", () => (props) => (
6+
jest.mock("./EHTool", () => (props) => (
77
<div
88
data-testid="eh-tool"
99
data-workflow-id={String(props.workflowId)}
1010
data-session-id={String(props.savedSessionId)}
1111
/>
1212
));
1313

14-
jest.mock("../../contexts/WorkflowContext", () => ({
14+
jest.mock("../contexts/WorkflowContext", () => ({
1515
useWorkflow: () => ({ workflow: { id: 42 } }),
1616
}));
1717

client/src/views/Views.test.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ jest.mock("@ant-design/icons", () => {
4545
DashboardOutlined: Icon,
4646
BugOutlined: Icon,
4747
MessageOutlined: Icon,
48-
ProjectOutlined: Icon,
4948
};
5049
});
5150

@@ -54,12 +53,9 @@ jest.mock("./Visualization", () => () => <div>Visualization Content</div>);
5453
jest.mock("./ModelTraining", () => () => <div>Training Content</div>);
5554
jest.mock("./ModelInference", () => () => <div>Inference Content</div>);
5655
jest.mock("./Monitoring", () => () => <div>Monitoring Content</div>);
57-
jest.mock("./mask-proofreading/MaskProofreading", () => () => (
56+
jest.mock("./MaskProofreading", () => () => (
5857
<div>Mask Proofreading Content</div>
5958
));
60-
jest.mock("./project-manager/ProjectManager", () => () => (
61-
<div>Project Manager Content</div>
62-
));
6359
jest.mock("../components/Chatbot", () => () => <div>Chatbot</div>);
6460

6561
describe("Views", () => {

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ dependencies = [
3131
"torchvision>=0.15.0",
3232
"uvicorn==0.38.0",
3333
"zarr>=2.18",
34-
"pytorch-connectomics",
34+
"connectomics",
3535
]
3636

3737
[tool.uv.sources]
38-
"pytorch-connectomics" = { path = "pytorch_connectomics", editable = true }
38+
"connectomics" = { path = "pytorch_connectomics", editable = true }
3939

4040
[dependency-groups]
4141
dev = [

uv.lock

Lines changed: 48 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)