0

I am trying to use the python version of libSBMLon Spyder.I previously used Cobra to do so and it works. Now, I use the command "model = ls.SBMLReader.readSBML('model.xml')" and I get the error message :

File ~\AppData\Local\anaconda3\Lib\site-packages\libsbml_init_.py:1702 in readSBML args_copy[1] = conditional_abspath(args[1])

IndexError: tuple index out of range

and I do not understand why the args_copy variable, which is equal to :

args_copy = list(args)

where args is the readSBML subroutine input :

def readSBML(*args):

should have 2 arguments (0 and 1)...

Could someone explain to me what is the problem?

Thanks

I try to change the argument in:

args_copy[1] = conditional_abspath(args[1])

0 rather than 1, and it doesn't work...

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.