Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(15)  |  Call(12)  |  Derive(0)  |  Import(3)

src/b/i/biskit-2.4/Biskit/PVM/ExampleMaster.py   biskit(Download)
 
from Biskit.PVM.hosts import nodes_all, cpus_all
from Biskit.tools import projectRoot
 
 
class Master(TrackingJobMaster):
 
    ## Slave script that goes with this master
    slave_script =  projectRoot() + '/Biskit/PVM/ExampleSlave.py'

src/b/i/biskit-2.4/Biskit/LocalPath.py   biskit(Download)
        S.path += [ 'Example 4:\n %s : %s \n'%(S.l.formatted(), S.l.local()) ]
        S.assertEqual( S.l.formatted(),
                       '{%s|$projectRoot}/Biskit/testdata/com' % T.projectRoot())
 
        ## Example 5; rule out stray substitutions
        S.l.set_path( T.projectRoot() + '/tmp/com', maxSub=1, TMP='/tmp' )
        S.path += [ 'Example 5:\n %s : %s \n'%(S.l.formatted(), S.l.local()) ]
        S.assertEqual( S.l.formatted(),
                       '{%s|$projectRoot}/tmp/com'% T.projectRoot())

src/b/i/biskit-2.4/Biskit/Mod/AlignerMaster.py   biskit(Download)
 
from Biskit.PVM import hosts as hosts
from Biskit.tools import projectRoot
import Biskit.tools as T
import os, glob
 
class AlignerMaster(TrackingJobMaster):
 
    slave_script =  projectRoot() + '/Biskit/Mod/AlignerSlave.py'

src/b/i/biskit-2.4/Biskit/Mod/ModelMaster.py   biskit(Download)
 
import Biskit.PVM.hosts as hosts
from Biskit.tools import projectRoot
import Biskit.tools as T
import os
 
class ModelMaster(TrackingJobMaster):
 
    slave_script =  projectRoot() + '/Biskit/Mod/ModelSlave.py'

src/b/i/biskit-2.4/Biskit/QualMaster.py   biskit(Download)
        hosts = nodes_all[ :n_hosts ]
 
        slave_script = T.projectRoot() +'/Biskit/QualSlave.py'
 
        TrackingJobMaster.__init__(self, dat, 1, hosts, niceness,

src/b/i/biskit-2.4/Biskit/AmberEntropyMaster.py   biskit(Download)
from Biskit.Dock import Complex
 
slave_path = T.projectRoot()+"/Biskit/AmberEntropySlave.py"
 
class AmberEntropyMaster(TrackingJobMaster):

src/b/i/biskit-2.4/Biskit/Dock/ContactMaster.py   biskit(Download)
import os.path
 
slave_path = t.projectRoot()+"/Biskit/Dock/ContactSlave.py"
 
class ContactMaster(TrackingJobMaster):

src/b/i/biskit-2.4/Biskit/settings.py   biskit(Download)
##
python_bin = sys.executable
projectRoot= T.projectRoot()
 
pymol_scripts = T.dataRoot() + '/pymol/'

src/b/i/biskit-2.4/Biskit/TrajFlexMaster.py   biskit(Download)
    """
 
    slave_script =  T.projectRoot() + '/Biskit/TrajFlexSlave.py'
 
    def __init__(self, traj1, traj2=None, hosts=hosts.cpus_all,

src/b/i/biskit-2.4/Biskit/StructureMaster.py   biskit(Download)
        """
        niceness = {'default': 0}
        slave_script = T.projectRoot() + '/Biskit/StructureSlave.py'
 
        TrackingJobMaster.__init__(self, dat, chunk, hosts, niceness,