コード例 #1
0
ファイル: filesystem.py プロジェクト: XENON1T/cax
    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)
コード例 #2
0
ファイル: filesystem.py プロジェクト: rynge/cax
    def __init__(self, mode, location):
        # Save filesnames to use
        self.location = location
        self.mode = mode

        # Perform base class initialization
        Task.__init__(self)
コード例 #3
0
ファイル: filesystem.py プロジェクト: rynge/cax
    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)
コード例 #4
0
ファイル: filesystem.py プロジェクト: rynge/cax
    def __init__(self, node__, status__):
        # Save filesnames to use
        self.node = node__
        self.status = status__

        # Perform base class initialization
        Task.__init__(self)
コード例 #5
0
ファイル: filesystem.py プロジェクト: rynge/cax
    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()
コード例 #6
0
ファイル: filesystem.py プロジェクト: XENON1T/cax
    def __init__(self, node__, status__):
        # Save filesnames to use
        self.node = node__
        self.status = status__

        # Perform base class initialization
        Task.__init__(self)
コード例 #7
0
ファイル: filesystem.py プロジェクト: XENON1T/cax
    def __init__(self, mode, location):
        # Save filesnames to use
        self.location = location
        self.mode = mode

        # Perform base class initialization
        Task.__init__(self)
コード例 #8
0
ファイル: corrections.py プロジェクト: XENON1T/cax
 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)
コード例 #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)
コード例 #10
0
ファイル: filesystem.py プロジェクト: XENON1T/cax
    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()
コード例 #11
0
ファイル: filesystem.py プロジェクト: rynge/cax
 def __init__(self, location):
     # Save filesnames to use
     self.location = location
     print("delete from database: ", self.location)
     # Perform base class initialization
     Task.__init__(self)
コード例 #12
0
ファイル: filesystem.py プロジェクト: rynge/cax
 def __init__(self):
     Task.__init__(self)
コード例 #13
0
ファイル: filesystem.py プロジェクト: rynge/cax
    def __init__(self, location):
        # Save filesnames to use
        self.location = os.path.abspath(location)

        # Perform base class initialization
        Task.__init__(self)
コード例 #14
0
ファイル: filesystem.py プロジェクト: XENON1T/cax
 def __init__(self, location, status):
     # Save filesnames to use
     self.location = location
     self.status = status
     print("delete from database: ", self.location)
     Task.__init__(self)
コード例 #15
0
ファイル: filesystem.py プロジェクト: XENON1T/cax
 def __init__(self, location):
     # Save filesnames to use
     self.location = location
     print("delete from database: ", self.location)
     # Perform base class initialization
     Task.__init__(self)
コード例 #16
0
ファイル: filesystem.py プロジェクト: XENON1T/cax
 def __init__(self):
     Task.__init__(self)
コード例 #17
0
ファイル: filesystem.py プロジェクト: rynge/cax
 def __init__(self, location, status):
     # Save filesnames to use
     self.location = location
     self.status = status
     print("delete from database: ", self.location)
     Task.__init__(self)
コード例 #18
0
ファイル: tsm_mover.py プロジェクト: XENON1T/cax
    def __init__(self, db, status):
        self.run_doc = db
        self.status = status

        Task.__init__(self)
コード例 #19
0
ファイル: filesystem.py プロジェクト: XENON1T/cax
    def __init__(self, location):
        # Save filesnames to use
        self.location = os.path.abspath(location)

        # Perform base class initialization
        Task.__init__(self)