AlgebraicJulia / AlgebraicJulia/AlgebraicRelations.jl

Method Error in Notebook example

Open
#34 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
56
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Hi there,

I'm trying to run [this example notebook](https://github.com/AlgebraicJulia/AlgebraicRelations.jl/blob/master/examples/ml_workflow_demo/ml_demo.ipynb) in VS Code. I'm using the Julia 1.8.3 kernel and I've just did `add AlgebraicRelations` in the package manager.

When I run the second cell (the `using` first cell runs) I get the following error:
```
MethodError: no method matching present_to_schema(::Presentation{Catlab.Theories.ThSymmetricMonoidalCategory, Symbol})
Closest candidates are:
present_to_schema(!Matched::Symbol, !Matched::Symbol) at ~/.julia/packages/AlgebraicRelations/VrfVu/src/Presentations.jl:48

Stacktrace:
[1] top-level scope
@ ~/dev/workshop/julia/AlgebraicRelations.jl/examples/ml_workflow_demo/ml_demo.ipynb:18
```

I'm new to both Julia and the Catlab ecosystem, so apologies if I've missed something obvious!

Cheers,

Jun

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.