Ejemplo n.º 1
0
    def __init__(self, input, output):
        # Save filesnames to use
        self.input = os.path.abspath(input)
        self.output = os.path.abspath(output)

        # Perform base class initialization
        Task.__init__(self)
Ejemplo n.º 2
0
    def __init__(self, mode, location):
        # Save filesnames to use
        self.location = location
        self.mode = mode

        # Perform base class initialization
        Task.__init__(self)
Ejemplo n.º 3
0
    def __init__(self, input, output):
        # Save filesnames to use
        self.input = os.path.abspath(input)
        self.output = os.path.abspath(output)

        # Perform base class initialization
        Task.__init__(self)
Ejemplo n.º 4
0
    def __init__(self, node__, status__):
        # Save filesnames to use
        self.node = node__
        self.status = status__

        # Perform base class initialization
        Task.__init__(self)
Ejemplo n.º 5
0
    def __init__(self):

        self.raw_data = {
            "tegner-login-1": "/cfs/klemming/projects/xenon/xenon1t/raw/",
            "midway-login1": "/project2/lgrandi/xenon1t/raw/"
        }

        self.proc_data = {
            "tegner-login-1":
            "/cfs/klemming/projects/xenon/xenon1t/processed/",
            "midway-login1": "/project/lgrandi/xenon1t/processed/"
        }

        self.chown_user = {
            "tegner-login-1": "bobau",
            "midway-login1": "pdeperio"
        }

        self.chown_group = {
            "tegner-login-1": "xenon-users",
            "midway-login1": "xenon1t-admins"
        }

        self.chmod = {"tegner-login-1": '750', "midway-login1": '755'}

        Task.__init__(self)
        self.hostname_config = config.get_config(config.get_hostname())
        self.hostname = config.get_hostname()
Ejemplo n.º 6
0
    def __init__(self, node__, status__):
        # Save filesnames to use
        self.node = node__
        self.status = status__

        # Perform base class initialization
        Task.__init__(self)
Ejemplo n.º 7
0
    def __init__(self, mode, location):
        # Save filesnames to use
        self.location = location
        self.mode = mode

        # Perform base class initialization
        Task.__init__(self)
Ejemplo n.º 8
0
 def __init__(self):
     self.correction_collection = config.mongo_collection(self.collection_name)
     if self.key == 'not_set':
         raise ValueError("You must set a correction key attribute")
     if self.collection_name == 'not_set':
         raise ValueError("You must set a correction collection_name attribute")
     Task.__init__(self)
Ejemplo n.º 9
0
 def __init__(self):
     self.correction_collection = config.mongo_collection(
         self.collection_name)
     if self.key == 'not_set':
         raise ValueError("You must set a correction key attribute")
     if self.collection_name == 'not_set':
         raise ValueError(
             "You must set a correction collection_name attribute")
     Task.__init__(self)
Ejemplo n.º 10
0
    def __init__(self):

        self.raw_data = {"tegner-login-1": "/cfs/klemming/projects/xenon/xenon1t/raw/",
                         "midway-login1": "/project2/lgrandi/xenon1t/raw/"}
        
        self.proc_data = {"tegner-login-1": "/cfs/klemming/projects/xenon/xenon1t/processed/",
                          "midway-login1": "/project/lgrandi/xenon1t/processed/"}
        
        self.chown_user = {"tegner-login-1": "bobau",
                           "midway-login1": "pdeperio"}

        self.chown_group = {"tegner-login-1": "xenon-users",
                            "midway-login1": "xenon1t-admins"}

        self.chmod = {"tegner-login-1": '750',
                      "midway-login1": '755'}

        Task.__init__(self)
        self.hostname_config = config.get_config(config.get_hostname())
        self.hostname = config.get_hostname()
Ejemplo n.º 11
0
 def __init__(self, location):
     # Save filesnames to use
     self.location = location
     print("delete from database: ", self.location)
     # Perform base class initialization
     Task.__init__(self)
Ejemplo n.º 12
0
 def __init__(self):
     Task.__init__(self)
Ejemplo n.º 13
0
    def __init__(self, location):
        # Save filesnames to use
        self.location = os.path.abspath(location)

        # Perform base class initialization
        Task.__init__(self)
Ejemplo n.º 14
0
 def __init__(self, location, status):
     # Save filesnames to use
     self.location = location
     self.status = status
     print("delete from database: ", self.location)
     Task.__init__(self)
Ejemplo n.º 15
0
 def __init__(self, location):
     # Save filesnames to use
     self.location = location
     print("delete from database: ", self.location)
     # Perform base class initialization
     Task.__init__(self)
Ejemplo n.º 16
0
 def __init__(self):
     Task.__init__(self)
Ejemplo n.º 17
0
 def __init__(self, location, status):
     # Save filesnames to use
     self.location = location
     self.status = status
     print("delete from database: ", self.location)
     Task.__init__(self)
Ejemplo n.º 18
0
    def __init__(self, db, status):
        self.run_doc = db
        self.status = status

        Task.__init__(self)
Ejemplo n.º 19
0
    def __init__(self, location):
        # Save filesnames to use
        self.location = os.path.abspath(location)

        # Perform base class initialization
        Task.__init__(self)