Skip to content

Commit

Permalink
- allow use of package without the gui
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergmann committed Sep 27, 2021
1 parent a8d1b82 commit d9b532a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion copasi_petab_importer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
"""
from .convert_petab import *
from .PEtab import petab_gui

try:
from .PEtab import petab_gui
except ImportError:
import logging
logging.debug('PETabGui not available as PyQt5 is not installed')

from . import _version
__version__ = _version.get_versions()['version']

0 comments on commit d9b532a

Please sign in to comment.