Skip to content

Redesign of Julia interop, avoiding Jupyter kernel#835

Open
kris-brown wants to merge 9 commits intomainfrom
interop_refactor
Open

Redesign of Julia interop, avoiding Jupyter kernel#835
kris-brown wants to merge 9 commits intomainfrom
interop_refactor

Conversation

@kris-brown
Copy link
Collaborator

This PR simplifies a lot of the structure of the CatColabInterop.jl package.

It introduces a new analysis of schema instances by sending the diagram to Catlab, where it is processed by @acset_colim to produce a tabular instance.

(This is currently a WIP - once the workflow is working for the tabular view analysis, the existing Decapodes analysis will be brought back into functionality).

@github-actions
Copy link

github-actions bot commented Nov 8, 2025

@kris-brown kris-brown self-assigned this Nov 8, 2025
@kris-brown kris-brown added the enhancement New feature or request label Nov 8, 2025
@epatters epatters force-pushed the update-cclinterop-types branch from 967ea9f to 113a4f8 Compare November 11, 2025 12:20
@epatters epatters added the external Work on interfacing with other tools label Nov 26, 2025
@kris-brown kris-brown changed the base branch from update-cclinterop-types to main December 12, 2025 18:33
@kris-brown kris-brown marked this pull request as ready for review December 12, 2025 18:33
@github-actions github-actions bot temporarily deployed to netlify-preview December 16, 2025 01:02 Destroyed
@github-actions github-actions bot temporarily deployed to netlify-preview December 18, 2025 22:21 Destroyed
@github-actions github-actions bot temporarily deployed to netlify-preview December 19, 2025 21:18 Destroyed
@github-actions github-actions bot temporarily deployed to netlify-preview December 19, 2025 21:25 Destroyed
@github-actions github-actions bot temporarily deployed to netlify-preview January 6, 2026 23:12 Destroyed
Copy link
Member

@kasbah kasbah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some more CORS fixups for you.

@github-actions github-actions bot temporarily deployed to netlify-preview January 7, 2026 17:51 Destroyed
@kris-brown
Copy link
Collaborator Author

Thanks, these are addressed now!

Copy link
Member

@epatters epatters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Kris and Matt, it'll be great to have a simpler and more flexible approach to interop with Julia. Some comments below.

@github-actions github-actions bot temporarily deployed to netlify-preview January 30, 2026 22:22 Destroyed
@kris-brown
Copy link
Collaborator Author

Thanks! I believe your suggested changes have all been incorporated. However, I'm not sure how to test whether the import.meta.env.PROD condition is working properly when running it locally.

quffaro and others added 6 commits February 6, 2026 15:38
CLEANUP: changing tests

CLEANUP: reorganized code into parse and execute folders

refactor algjuliainterop
CORS and async issues resolved

basic tabular view functionality

edit

remove decapodes material

run formatter

docs fix

using local version

remove axios
undo changes

newlines

remove space

More docs
@github-actions github-actions bot temporarily deployed to netlify-preview February 6, 2026 23:39 Destroyed
Also, fix a lint about the type `{}` in TypeScript.
@github-actions github-actions bot temporarily deployed to netlify-preview February 7, 2026 00:01 Destroyed
Copy link
Member

@epatters epatters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Kris, this is looking really close to ready!

return (
<div class="simulation">
<PanelHeader title="Tabular view" />
<For each={model?.obGenerators()}>{(ob) => createACSetTable(model, rawdata, ob)}</For>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we're calling a function to create JSX elements instead of using a component, which is rarely what you want to do as it can cause reactivity problems. @kasbah, can you help Kris restructure this code into components?

<Match when={res()}>
{(data) => {
const result = data();
return <div>{createACSet(result.model, result.data)}</div>;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto here.

Copy link
Member

@epatters epatters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One other thing: this PR should remove @jupyterlab/services from frontend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request external Work on interfacing with other tools

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants