def test_sanity(self):
     cluster_renders = C.load_installed_cluster_templates()
     log.debug(pprint.pformat(cluster_renders))
     self.assertIsNotNone(cluster_renders)
Example #2
0
import unittest
import logging

# this will load all the tasks modules

import pbsmrtpipe.loader

RTASKS = pbsmrtpipe.loader.load_all_tool_contracts()

import pbsmrtpipe.graph.bgraph as B
import pbsmrtpipe.cluster as C
import pbsmrtpipe.pb_io as IO

INSTALLED_CLUSTER_TEMPLATES = C.load_installed_cluster_templates()

log = logging.getLogger(__name__)

DEEP_DEBUG = True


def _to_workflow_options_settings(path):
    preset_record = IO.parse_pipeline_preset_xml(path)
    d = dict(preset_record.workflow_options)
    wopts = IO.WorkflowLevelOptions.from_id_dict(d)
    return wopts


class TestBindingFormat(unittest.TestCase):

    bs = ['pbsmrtpipe.tasks.dev_hello:1', 'pbsmrtpipe.tasks.dev_hello2:9:1']
Example #3
0
import unittest
import logging

# this will load all the tasks modules

import pbsmrtpipe.loader

RTASKS = pbsmrtpipe.loader.load_all_tool_contracts()

import pbsmrtpipe.graph.bgraph as B
import pbsmrtpipe.cluster as C
import pbsmrtpipe.pb_io as IO

INSTALLED_CLUSTER_TEMPLATES = C.load_installed_cluster_templates()

log = logging.getLogger(__name__)

DEEP_DEBUG = True


def _to_workflow_options_settings(path):
    preset_record = IO.parse_pipeline_preset_xml(path)
    d = dict(preset_record.workflow_options)
    wopts = IO.WorkflowLevelOptions.from_id_dict(d)
    return wopts


class TestBindingFormat(unittest.TestCase):

    bs = ['pbsmrtpipe.tasks.dev_hello:1',
          'pbsmrtpipe.tasks.dev_hello2:9:1']