Comments (4)
@neonWhiteout, if #839 fixes your problems, I can tag a new patch release.
@epatters Yes, seems to be working, thank you!
from catlab.jl.
typed_WeightModel=ACSetTransformation(WeightModel, l_type,
S = [s,s,s],
SV = [N],
LS = [lsn,lsn,lsn],
F = [f_birth, f_death, f_fstorder, f_death, f_fstorder, f_death, f_aging, f_aging, f_aging],
I = [i_birth, i_aging, i_fstorder, i_aging, i_fstorder, i_aging],
O = [o_death, o_fstorder, o_aging, o_death, o_fstorder, o_aging, o_death, o_aging],
V = [v_birth, v_death, v_fstorder, v_death, v_fstorder, v_death, v_aging, v_aging, v_aging],
LV = [lv_death1, lv_fstorder1, lv_death1, lv_fstorder1, lv_death1, lv_aging1, lv_aging1, lv_aging1],
LSV = [lsv_birth1],
P = [p_μ, p_δ, p_rfstOrder, p_rfstOrder, p_δ, p_rage],
LPV = [lpv_birth2, lpv_death2, lpv_fstorder2, lpv_death2, lpv_fstorder2, lpv_death2, lpv_aging2, lpv_aging2, lpv_aging2],
Name = name -> nothing, Op=op->nothing, Position=pos->nothing
);
MethodError: no method matching coerce_attrvar_component(::Symbol, ::var"#46#49", ::TypeSet{Symbol}, ::TypeSet{Nothing}, ::Int64, ::Int64)
Closest candidates are:
coerce_attrvar_component(::Symbol, !Matched::LooseVarFunction, ::TypeSet{T}, ::TypeSet{T′}, ::Int64, ::Int64) where {T, T′}
@ Catlab [~/.julia/packages/Catlab/olyoH/src/categorical_algebra/CSets.jl:436](https://file+.vscode-resource.vscode-cdn.net/home/silicon/Documents/Git/StockFlow.jl/examples/full_fledged_schema_examples_new/stratification/~/.julia/packages/Catlab/olyoH/src/categorical_algebra/CSets.jl:436)
coerce_attrvar_component(::Symbol, !Matched::AbstractVector, ::TypeSet{T}, !Matched::TypeSet{T}, ::Int64, ::Int64) where T
@ Catlab [~/.julia/packages/Catlab/olyoH/src/categorical_algebra/CSets.jl:420](https://file+.vscode-resource.vscode-cdn.net/home/silicon/Documents/Git/StockFlow.jl/examples/full_fledged_schema_examples_new/stratification/~/.julia/packages/Catlab/olyoH/src/categorical_algebra/CSets.jl:420)
coerce_attrvar_component(::Symbol, !Matched::VarFunction, ::TypeSet{T}, !Matched::TypeSet{T}, ::Int64, ::Int64) where T
@ Catlab [~/.julia/packages/Catlab/olyoH/src/categorical_algebra/CSets.jl:428](https://file+.vscode-resource.vscode-cdn.net/home/silicon/Documents/Git/StockFlow.jl/examples/full_fledged_schema_examples_new/stratification/~/.julia/packages/Catlab/olyoH/src/categorical_algebra/CSets.jl:428)
from catlab.jl.
Hi, this is a bug that should be quickly addressed - looks like we just need to add another method for coerce_attrvar_component
. Thanks for pointing this out!
from catlab.jl.
@neonWhiteout, if #839 fixes your problems, I can tag a new patch release.
from catlab.jl.
Related Issues (20)
- Docs Warnings HOT 1
- Compute colimit of empty diagram for DynamicACSets HOT 1
- Integrate ACSets.NautyInterface
- Reexport GATlab from Catlab
- VarFunction Serialization
- Fix an empty tuple problem ahead of Julia 1.10
- GATs are missing from API docs
- Warnings about cross references from docs build
- Move from JSON.jl to JSON3.jl
- Constraints on attributes in `maximum_common_subobject` HOT 5
- Maximum_common_subobject changes ordering
- Better graphviz support for bipartite graphs HOT 1
- Refactor FinSets from FinSetImpls, etc
- Add features to VM based hom search
- Ambiguities detected from Aqua
- Question about abstract vs. concrete type in `enumerate_paths` HOT 2
- `SigmaMigrationFunctor` method uses an undefined variable HOT 2
- Bug in `product` keyword arguments
- free-floating URLs not parsed well by documenter HOT 1
- Coproduct with looseACSetTransformations HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from catlab.jl.