Beispiel #1
0
def establishNamedTemplates(registryname,
                            filebase,
                            doc='',
                            file_ext='tpl',
                            pickle_files=False):
    j = TransientRegistry(registryname,
                          filebase,
                          doc,
                          file_ext=file_ext,
                          pickle_files=pickle_files)
    addRegistry(j)
Beispiel #2
0
def establishNamedTemplates(registryname, filebase, doc='', file_ext='tpl', pickle_files=False):
    j = TransientRegistry(
        registryname, filebase, doc, file_ext=file_ext, pickle_files=pickle_files)
    addRegistry(j)
Beispiel #3
0
from __future__ import absolute_import
from Ganga.Core.GangaRepository import addRegistry
from Ganga.GPIDev.Lib.Tasks.TaskRegistry import TaskRegistry

# Tasks
from Ganga.GPIDev.Lib.Tasks.ITask import ITask
from Ganga.GPIDev.Lib.Tasks.ITransform import ITransform
from Ganga.GPIDev.Lib.Tasks.TaskChainInput import TaskChainInput
from Ganga.GPIDev.Lib.Tasks.TaskLocalCopy import TaskLocalCopy

from Ganga.GPIDev.Lib.Tasks.CoreTask import CoreTask
from Ganga.GPIDev.Lib.Tasks.CoreTransform import CoreTransform
from Ganga.GPIDev.Lib.Tasks.CoreUnit import CoreUnit

# Create the registry
myTaskRegistry = TaskRegistry("tasks", "Tasks Registry")
addRegistry(myTaskRegistry)


def stopTasks():
    global myTaskRegistry
    myTaskRegistry.stop()


Beispiel #4
0
from Ganga.Core.GangaRepository import addRegistry

from PrepRegistry import PrepRegistry
from JobRegistry import JobRegistry
from BoxRegistry import BoxRegistry

addRegistry(PrepRegistry("prep", "stuff"))
addRegistry(JobRegistry("jobs", "General Job Registry"))
addRegistry(JobRegistry("templates", "Templates"))
addRegistry(BoxRegistry("box", "The Ganga box"))
Beispiel #5
0
from __future__ import absolute_import
# Import classes that should be in the Tasks namespace
# Import the list of tasks and the task and abstract job definition
#from TaskList import TaskList

from Ganga.Core.GangaRepository import addRegistry
from .TaskRegistry import TaskRegistry
addRegistry(TaskRegistry("tasks", "Tasks Registry"))

# Tasks
from .Task import Task
from .Transform import Transform

from .ITask import ITask
from .ITransform import ITransform
from .TaskChainInput import TaskChainInput
from .TaskLocalCopy import TaskLocalCopy

from .CoreTask import CoreTask
from .CoreTransform import CoreTransform
from .CoreUnit import CoreUnit

# Start Logger
#import Ganga.Utility.logging
#logger = Ganga.Utility.logging.getLogger()
from .common import logger

from .TaskApplication import ExecutableTask, ArgSplitterTask