1
0
Fork 0

Test update setup

master
Luca Moretti 4 years ago
parent 8e3e2019ea
commit 18afb1f08e
  1. 4
      main_package/setup.py
  2. 4
      main_package/tests/optimizers/test_tabu_search.py

@ -4,8 +4,8 @@ setup(name='ctbn',
version='1.0', version='1.0',
url='https://github.com/philipMartini/CTBN_Project', url='https://github.com/philipMartini/CTBN_Project',
#license='MIT', #license='MIT',
author='Filippo Martini', author='Luca Moretti,Filippo Martini',
author_email='f.martini@campus.unimib.it', author_email='l.moretti@campus.unimib.it,f.martini@campus.unimib.it',
description='A Continuous Time Bayesian Network Library', description='A Continuous Time Bayesian Network Library',
packages=find_packages(exclude=['tests', 'data']), packages=find_packages(exclude=['tests', 'data']),
long_description=open('README.md').read(), long_description=open('README.md').read(),

@ -23,8 +23,8 @@ class TestTabuSearch(unittest.TestCase):
@classmethod @classmethod
def setUpClass(cls): def setUpClass(cls):
#cls.read_files = glob.glob(os.path.join('../../data', "*.json")) #cls.read_files = glob.glob(os.path.join('../../data', "*.json"))
cls.importer = ji.JsonImporter("../../data/networks_and_trajectories_binary_data_01_5.json", cls.importer = ji.JsonImporter("../../data/networks_and_trajectories_ternary_data_15.json",
'samples', 'dyn.str', 'variables', 'Time', 'Name', 6 ) 'samples', 'dyn.str', 'variables', 'Time', 'Name', 0 )
cls.s1 = sp.SamplePath(cls.importer) cls.s1 = sp.SamplePath(cls.importer)
cls.s1.build_trajectories() cls.s1.build_trajectories()
cls.s1.build_structure() cls.s1.build_structure()