# Path: scgv/models/model.py
# class DataModel(BaseModel):
# 
#     def __init__(self, filename):
#         self.data = DataLoader(filename)
#         self.data.load()
#         self.data.filter_cells()
#         self.data.order_cells()
# 
#         super(DataModel, self).__init__(self.data)


import pytest
from scgv.models.model import DataModel
'''
Created on Dec 2, 2016

@author: lubo
'''


@pytest.fixture
def example_data():
    return 'exampledata/example.archive.zip'


@pytest.fixture
def example_dir():
    return 'exampledata/example.directory'


@pytest.fixture
def model_fixture(example_data):

# Path: scgv/models/model.py
# class DataModel(BaseModel):
# 
#     def __init__(self, filename):
#         self.data = DataLoader(filename)
#         self.data.load()
#         self.data.filter_cells()
#         self.data.order_cells()
# 
#         super(DataModel, self).__init__(self.data)


# Path: scgv/tests/conftest.py
import pytest
from scgv.models.model import DataModel

'''
Created on Dec 2, 2016

@author: lubo
'''


@pytest.fixture
def example_data():
    return 'exampledata/example.archive.zip'


@pytest.fixture
def example_dir():
    return 'exampledata/example.directory'


@pytest.fixture
def model_fixture(example_data):

    model = DataModel(example_data)