Giter Site home page Giter Site logo

Comments (4)

neonWhiteout avatar neonWhiteout commented on June 24, 2024 1

@neonWhiteout, if #839 fixes your problems, I can tag a new patch release.

@epatters Yes, seems to be working, thank you!

from catlab.jl.

neonWhiteout avatar neonWhiteout commented on June 24, 2024
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.

kris-brown avatar kris-brown commented on June 24, 2024

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.

epatters avatar epatters commented on June 24, 2024

@neonWhiteout, if #839 fixes your problems, I can tag a new patch release.

from catlab.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.