CellMLToolkit.jl icon indicating copy to clipboard operation
CellMLToolkit.jl copied to clipboard

Corrias `ERROR: KeyError: key CellMLToolkit.Var(:ImportedEformation, :t) not found`

Open anandijain opened this issue 3 years ago • 4 comments

julia> sim = CellMLSimulation(joinpath(@__DIR__, "../corrias.cellml"), tspan)
ERROR: KeyError: key CellMLToolkit.Var(:ImportedEformation, :t) not found
Stacktrace:
 [1] getindex
   @ .\dict.jl:482 [inlined]
 [2] find_equivalence_groups(xml::EzXML.Document)
   @ CellMLToolkit ~\.julia\packages\CellMLToolkit\4j9fg\src\components.jl:93
 [3] classify_variables(xml::EzXML.Document)
   @ CellMLToolkit ~\.julia\packages\CellMLToolkit\4j9fg\src\components.jl:111
 [4] process_components(xml::EzXML.Document; simplify::Bool)
   @ CellMLToolkit ~\.julia\packages\CellMLToolkit\4j9fg\src\components.jl:181

pointing to s = groups[u1] ∪ groups[u2]

anandijain avatar Apr 08 '21 19:04 anandijain

I believe Corrias https://models.cellml.org/exposure/55a01dce162ed6845cd0df2c8d8b3735/corrias_buist_2007.cellml/cmeta worked before

anandijain avatar Apr 08 '21 19:04 anandijain

Oh I am starting to see

anandijain avatar Apr 08 '21 19:04 anandijain

I will push the new version today. The problem is that the current version does not import correctly.

shahriariravanian avatar Apr 08 '21 20:04 shahriariravanian

How do I filter out the models from the test set that will not run by themselves?

anandijain avatar Apr 08 '21 22:04 anandijain