Comments (2)
Check why we try to compute
log(0)
there.
Some log-scale parameters have a nominal value of 0 (parameter table discussion).
from amici.
Needs to be checked whether this is an issue in amici or petab:
/home/runner/.local/lib/python3.11/site-packages/amici/petab/simulations.py:204: in simulate_petab
fill_in_parameters(
/home/runner/.local/lib/python3.11/site-packages/amici/petab/conditions.py:76: in fill_in_parameters
fill_in_parameters_for_condition(
/home/runner/.local/lib/python3.11/site-packages/amici/petab/conditions.py:148: in fill_in_parameters_for_condition
map_sim_fix = {
/home/runner/.local/lib/python3.11/site-packages/amici/petab/conditions.py:149: in <dictcomp>
key: _get_par(key, val, map_sim_fix)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
model_par = 'initial__Cyt__CCND_sim', value = 'ic_wt_Cyt__CCND'
mapping = {'_InitialConc1': 60220000000.0, '_InitialConc10': 50629691000.0, '_InitialConc11': 4648479700.0, '_InitialConc12': 242609110000.0, ...}
def _get_par(model_par, value, mapping):
"""Replace parameter IDs in mapping dicts by values from
problem_parameters where necessary"""
if isinstance(value, str):
try:
# estimated parameter
return problem_parameters[value]
except KeyError:
# condition table overrides must have been handled already,
# e.g. by the PEtab parameter mapping, but parameters from
# InitialAssignments may still be present.
> if mapping[value] == model_par:
E KeyError: 'ic_wt_Cyt__CCND'
/home/runner/.local/lib/python3.11/site-packages/amici/petab/conditions.py:131: KeyError
from amici.
Related Issues (20)
- Execution of multiple event assignments from the same event HOT 3
- Not installing on Mac M1 HOT 4
- Compilation fails with Intel OneApi MKL 2024.1 HOT 2
- IMPORTED_LOCATION not set for imported target "Upstream::amici" HOT 1
- cmake: replace explicit checks for CMAKE_BUILD_TYPE
- TimeCourse Implementation
- Piecewise function HOT 1
- PEtab import: Estimated initial conditions specified via the conditions table aren't handled correctly
- Remove deprecated functionality for PEtab import from individual files instead of petab.Problem
- Replace deprecated `petab.Problem.from_files` in `amici.petab.cli.import_petab._main`
- Handle reserved names in PEtab parameter mapping HOT 3
- 'reduce' is not a member of 'std' std::reduce(idlist.begin(), idlist.end()) HOT 2
- CMake Error during AMICI installation on WSL HOT 4
- Illegal value in CVodeGetDky
- Survey: MATLAB users / continuation of AMICI's MATLAB interface
- Set CMP0167 for CMake 3.30
- GHA: -Werror only for amici repo
- Uncaught C exceptions HOT 7
- Wrong conservation laws for pysb models
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 amici.