sys-bio / simplesbml

Python package for building SBML models without needing to use libSBML.
http://simplesbml.readthedocs.io/en/latest/
MIT License
10 stars 12 forks source link

Unknown writeCodeFromString() #31

Open Airwan opened 1 year ago

Airwan commented 1 year ago

Hello,

I have a fresh install, using python 3.8, tellurium and simplesbml (installed with pip), and tried to use your examples but I have the following error:

Traceback (most recent call last):

  File ~/.miniconda3/envs/new/lib/python3.8/site-packages/spyder_kernels/py3compat.py:356 in compat_exec
    exec(code, globals, locals)

  File ~/untitled0.py:20
    code = simplesbml.writeCodeFromString(model.toSBML())

AttributeError: module 'simplesbml' has no attribute 'writeCodeFromString'

Thanks.

hsauro commented 1 year ago

Can you send the code you tried to use?

H

On Thu, Jan 26, 2023 at 4:45 AM Airwan @.***> wrote:

Hello,

I have a fresh install, using python 3.8, tellurium and simplesbml (installed with pip), and tried to use your examples but I have the following error:

Traceback (most recent call last):

File ~/.miniconda3/envs/new/lib/python3.8/site-packages/spyder_kernels/py3compat.py:356 in compat_exec exec(code, globals, locals)

File ~/untitled0.py:20 code = simplesbml.writeCodeFromString(model.toSBML())

AttributeError: module 'simplesbml' has no attribute 'writeCodeFromString'

Thanks.

— Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/sys-bio/simplesbml/issues/31__;!!K-Hz7m0Vt54!jUp7o4f5Rj9wsZAvi3MPxvQkUuJ-CL-FgSNvU4wawo4tJUw-PJmj-xBuZrwIuPdZm0xx5bhT3A7_J0YWGdU0BOb3SRJcyQ$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AAIBSDVBIZFDO5DI6YLO3CLWUJWXTANCNFSM6AAAAAAUHOTCQQ__;!!K-Hz7m0Vt54!jUp7o4f5Rj9wsZAvi3MPxvQkUuJ-CL-FgSNvU4wawo4tJUw-PJmj-xBuZrwIuPdZm0xx5bhT3A7_J0YWGdU0BObxfv7j9w$ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Herbert Sauro, Professor University of Washington, Bioengineering 206-685-2119, www.sys-bio.org Mobile: 206-880-8093 @.*** Books: http://books.analogmachine.org/