# Path: tellurium/utils/omex.py
# MANIFEST_PATTERN = "manifest.xml"
# METADAT_PATTERN = "metadata.*"
# class Entry(object):
# class Creator(object):
#     def __init__(self, location, format=None, formatKey=None, master=False, description=None, creators=None):
#     def __str__(self):
#     def __init__(self, givenName, familyName, organization, email):
# def combineArchiveFromDirectory(directory, omexPath, creators=None, creators_for_all=False):
# def combineArchiveFromEntries(omexPath, entries, workingDir):
# def addEntriesToCombineArchive(omexPath, entries, workingDir):
# def _addEntriesToArchive(omexPath, entries, workingDir, add_entries):
# def extractCombineArchive(omexPath, directory, method="zip"):
# def getLocationsByFormat(omexPath, formatKey=None, method="omex"):
# def listContents(omexPath, method="omex"):
# def printContents(omexPath):


import os
import pytest
import unittest
import tempfile
import shutil
    import libsedml
    import tesedml as libsedml
from tellurium.tests.testdata import OMEX_TEST_DIR
from tellurium.utils import omex
"""
Test class to check issues with single archives.
"""

from __future__ import absolute_import, print_function

try:
except ImportError:


OMEX_EXCLUDED = [
    # data not supported: FIXME: https://github.com/sys-bio/tellurium/issues/225
    'specification/L1V3/L1V3_plotting-data.omex',
    'specification/L1V3/L1V3_reading-data-numl.omex',
    'specification/L1V3/L1V3_reading-data-numl-simple.omex',
    'specification/L1V3/L1V3_reading-data-csv.omex',

    # complex xpath expressions: FIXME: https://github.com/matthiaskoenig/tellurium-web/issues/52, https://github.com/sys-bio/tellurium/issues/114
    'jws/omex/levering2012_fig5-user.sedx',
    'jws/omex/levering2012_fig2-user.sedx',
]


@pytest.mark.skip
def test_single_omex(tmpdir):
    omex_path = os.path.join(OMEX_TEST_DIR, 'specification/L1V3/L1V3_reading-data-csv-minimal.omex')

# Path: tellurium/utils/omex.py
# MANIFEST_PATTERN = "manifest.xml"
# METADAT_PATTERN = "metadata.*"
# class Entry(object):
# class Creator(object):
#     def __init__(self, location, format=None, formatKey=None, master=False, description=None, creators=None):
#     def __str__(self):
#     def __init__(self, givenName, familyName, organization, email):
# def combineArchiveFromDirectory(directory, omexPath, creators=None, creators_for_all=False):
# def combineArchiveFromEntries(omexPath, entries, workingDir):
# def addEntriesToCombineArchive(omexPath, entries, workingDir):
# def _addEntriesToArchive(omexPath, entries, workingDir, add_entries):
# def extractCombineArchive(omexPath, directory, method="zip"):
# def getLocationsByFormat(omexPath, formatKey=None, method="omex"):
# def listContents(omexPath, method="omex"):
# def printContents(omexPath):


# Path: tellurium/tests/sedml/test_archive.py
import os
import pytest
import unittest
import tempfile
import shutil
    import libsedml
    import tesedml as libsedml
from tellurium.tests.testdata import OMEX_TEST_DIR
from tellurium.utils import omex

"""
Test class to check issues with single archives.
"""

from __future__ import absolute_import, print_function

try:
except ImportError:


OMEX_EXCLUDED = [
    # data not supported: FIXME: https://github.com/sys-bio/tellurium/issues/225
    'specification/L1V3/L1V3_plotting-data.omex',
    'specification/L1V3/L1V3_reading-data-numl.omex',
    'specification/L1V3/L1V3_reading-data-numl-simple.omex',
    'specification/L1V3/L1V3_reading-data-csv.omex',

    # complex xpath expressions: FIXME: https://github.com/matthiaskoenig/tellurium-web/issues/52, https://github.com/sys-bio/tellurium/issues/114
    'jws/omex/levering2012_fig5-user.sedx',
    'jws/omex/levering2012_fig2-user.sedx',
]


@pytest.mark.skip
def test_single_omex(tmpdir):
    omex_path = os.path.join(OMEX_TEST_DIR, 'specification/L1V3/L1V3_reading-data-csv-minimal.omex')

    contents = omex.listContents(omex_path)