How to use the gc3pie.gc3apps.run_test_apps.TestRunner.__init__ function in gc3pie

To help you get started, we’ve selected a few gc3pie examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github gc3pie / gc3pie / gc3pie / gc3apps / run_test_apps.py View on Github external
def __init__(self, appdir, **kw):
        TestRunner.__init__(self, appdir, kw)
        Application.__init__(
            self,
            arguments = ['./gc_gps.py']  + self.stdargs + ['small.txt', 'src', '-i', 'in', '-o', 'out'],
            inputs = [
                os.path.join(self.appdir, name) for name in
                ('gc_gps.py', 'test-gc_gps/small.txt', 'test-gc_gps/src', 'test-gc_gps/in')],
            outputs=['out'],
            **kw)
github gc3pie / gc3pie / gc3pie / gc3apps / run_test_apps.py View on Github external
def __init__(self, appdir, **kw):
        TestRunner.__init__(self, appdir, kw)

        Application.__init__(
            self,
            arguments=['./ggamess.py'] + self.stdargs + ['-R', '2012R1',
                                                         'exam01.inp'],
            inputs=[os.path.join(self.appdir, 'ggamess.py'),
                    os.path.join(self.appdir, 'test/data/exam01.inp')],
            outputs=['exam01'],
            **kw)
github gc3pie / gc3pie / gc3pie / gc3apps / run_test_apps.py View on Github external
def __init__(self, appdir, **kw):
        TestRunner.__init__(self, appdir, kw)
        Application.__init__(
            self,
            arguments=['./ggeotop.py'] + self.stdargs \
                + ['-x', 'geotop_1_224_20120227_static',
                   'GEOtop_public_test'],
            inputs=[
                os.path.join(self.appdir, name) for name in
                ['ggeotop.py',
                 'test/geotop_1_224_20120227_static',
                 'test/data/GEOtop_public_test']],
            outputs=['GEOtop_public_test/out'],
            **kw)
github gc3pie / gc3pie / gc3pie / gc3apps / run_test_apps.py View on Github external
def __init__(self, appdir, **kw):
        TestRunner.__init__(self, appdir, kw)

        args = ['/bin/true']
        ifiles = [os.path.join(self.appdir, 'gcrypto.py'),
                  os.path.join(self.testdir, 'input.tgz'),
                  os.path.join(self.testdir, 'gnfs-cmd_20120406'),
                  ]
        if os.path.isdir(self.testdir) \
                and min(os.path.isfile(f) for f in ifiles):
            # input files found. Run gcrypto test.
            args = [
                './gcrypto.py',
                '-i', 'input.tgz',
                '-g', 'gnfs-cmd_20120406',
                '-c', '2'] + self.stdargs \
                + ['800000000', '800001000', '500', ]
github gc3pie / gc3pie / gc3pie / gc3apps / run_test_apps.py View on Github external
def __init__(self, appdir, **kw):
        TestRunner.__init__(self, appdir, kw)
        self.jobdirs = ['0--1', '2--3', '4--5']
        kw['output_dir'] = os.path.join(
            os.path.dirname(kw['output_dir']), 'rosetta')

        Application.__init__(
            self,
            arguments=['./grosetta.py'] + self.stdargs \
                + ['--total-decoys', '5',
                   '--decoys-per-job', '2',
                   'data/grosetta.flags',
                   'data/alignment.filt',
                   'data/boinc_aaquery0*',
                   'data/query.*',
                   'data/*.pdb',
                   ],
            inputs=[os.path.join(self.appdir, 'grosetta.py'),
github gc3pie / gc3pie / gc3pie / gc3apps / run_test_apps.py View on Github external
def __init__(self, appdir, **kw):
        TestRunner.__init__(self, appdir, kw)
        kw['output_dir'] = os.path.join(
            os.path.dirname(kw['output_dir']), 'docking')

        self.jobdirs = ["1bjpA.%s" % d for d in ('1--2', '3--4', '5--5')]
        Application.__init__(
            self,
            arguments=['./gdocking.py'] + self.stdargs \
                + ['--decoys-per-file', '5',
                   '--decoys-per-job', '2',
                   '-f', 'data/gdocking.flags',
                   'data/1bjpA.pdb',
                   ],
            inputs=[
                os.path.join(self.appdir, 'gdocking.py'),
                os.path.join(self.appdir, 'test/data')],
            outputs=[self.jobdirs],
github gc3pie / gc3pie / gc3pie / gc3apps / run_test_apps.py View on Github external
def __init__(self, appdir, **kw):
        TestRunner.__init__(self, appdir, kw)
        self.datadir = os.path.join(self.testdir, 'data/small_flat')
        Application.__init__(
            self,
            arguments=['./gcodeml.py'] +
            self.stdargs + ['small_flat'],
            inputs=[
                os.path.join(self.appdir, 'gcodeml.py'),
                self.datadir],
            outputs=['small_flat.out'],
            **kw)
github gc3pie / gc3pie / gc3pie / gc3apps / run_test_apps.py View on Github external
def __init__(self, appdir, **kw):
        TestRunner.__init__(self, appdir, kw)
        Application.__init__(
            self,
            arguments=['./gzods.py'] + self.stdargs + ['small'],
            inputs=[
                os.path.join(self.appdir, i) for i in [
                    'gzods.py', 'test/data/small']],
            outputs=['small', 'input'],
            **kw)