-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ode_Fba.ipynb notebook giving error #24
Comments
@siddharth0112358 I'm having the same issue. Did you ever find a solution? |
@siddharth0112358 @hmvantol apologies for your issue. This was an experimental notebook and I have not been checking it for a while. I'll be back at work in a couple days and can try to get it up and running again. Meanwhile, can you share the versions of the different tools in your dev environment -- in particular all of the biosimulator libraries such as biosimulator utils. It seems the model changes are not being supported, so this might be an older version of utils or something else has been changed and is no longer compatible. |
@eagmon Thanks for your response. I actually did get the cell to run by adding I've also had to try different versions of cobra, evalidate, numpy and comment out
|
I am trying to run ODE_FBA.ipynb notebook and getting following error:
cell:
ode_config = {
'biosimulator_api': 'biosimulators_tellurium',
'model_source': MILLARD2016_PATH,
'model_language': ModelLanguage.SBML.value,
'simulation': 'steady_state',
'algorithm': {
'kisao_id': 'KISAO_0000019',
},
'time_step': 0.1,
}
ode_process = Biosimulator(ode_config)
Error:
ValueError Traceback (most recent call last)
c:\Users\siddh\Dropbox\PC\Desktop\Bioleap\Bioleap_final_notebooks\Single_cell_equations.ipynb Cell 87' in <cell line: 14>()
2 ode_config = {
3 'biosimulator_api': 'biosimulators_tellurium',
4 'model_source': MILLARD2016_PATH,
(...)
10 'time_step': 0.1,
11 }
13 # make the process
---> 14 ode_process = Biosimulator(ode_config)
c:\Users\siddh\Dropbox\PC\Desktop\Bioleap\Bioleap_final_notebooks\Single_cell_equations.ipynb Cell 75' in Biosimulator.init(self, parameters)
215 # pre-process
216 self.sed_task_config = Config(
217 **self.parameters['sed_task_config'])
--> 218 self.preprocessed_task = self.preprocess_sed_task(
219 self.task,
220 self.outputs,
221 config=self.sed_task_config,
222 )
224 ####################
225 # Port Assignments #
226 ####################
227
228 # port assignments from parameters
229 default_input_port = self.parameters['default_input_port_name']
File c:\Users\siddh\AppData\Local\Programs\Python\Python38\lib\site-packages\biosimulators_tellurium\core.py:341, in preprocess_sed_task(task, variables, config, simulator_config)
337 raise_errors_warnings(validation.validate_model_language(model.language, ModelLanguage.SBML),
338 error_summary='Language for model
{}
is not supported.'.format(model.id))339 raise_errors_warnings(validation.validate_model_change_types(model.changes, (ModelAttributeChange, )),
340 error_summary='Changes for model
{}
are not supported.'.format(model.id))--> 341 raise_errors_warnings(*validation.validate_model_changes(task.model),
342 error_summary='Changes for model
{}
are invalid.'.format(model.id))343 raise_errors_warnings(validation.validate_simulation_type(sim, (SteadyStateSimulation, UniformTimeCourseSimulation)),
344 error_summary='{}
{}
is not supported.'.format(sim.class.name, sim.id))345 raise_errors_warnings(*validation.validate_simulation(sim),
346 error_summary='Simulation
{}
is invalid.'.format(sim.id))File c:\Users\siddh\AppData\Local\Programs\Python\Python38\lib\site-packages\biosimulators_utils\utils\core.py:387, in raise_errors_warnings(errors, warnings, error_summary, warning_summary)
385 if error_summary:
386 msg = error_summary + '\n ' + msg.replace('\n', '\n ')
--> 387 raise ValueError(msg)
ValueError: Changes for model
model
are invalid.The text was updated successfully, but these errors were encountered: