Esempio n. 1
0
 def items(self):
     try:
         # assume the input is a file
         return QueenbeeTask.load_input_param(self.sensor_grids)
     except:
         # it is a parameter
         return self.input()['CreateRadFolder']['sensor_grids'].path
Esempio n. 2
0
 def items(self):
     try:
         # assume the input is a file
         return QueenbeeTask.load_input_param(self.grids_list)
     except:
         # it is a parameter
         return self.input()['SplitGrid']['grids_list'].path
Esempio n. 3
0
 def items(self):
     try:
         # assume the input is a file
         return QueenbeeTask.load_input_param(self.sensor_grids)
     except:
         # it is a parameter
         return pathlib.Path(self.input()['SplitGridFolder']['sensor_grids'].path).as_posix()
Esempio n. 4
0
 def items(self):
     try:
         # assume the input is a file
         return QueenbeeTask.load_input_param(self.enclosure_list)
     except:
         # it is a parameter
         return self.input()['GetEnclosureInfo']['enclosure_list'].path
Esempio n. 5
0
 def items(self):
     try:
         # assume the input is a file
         return QueenbeeTask.load_input_param(self.views)
     except:
         # it is a parameter
         return pathlib.Path(
             self.input()['CreateRadFolder']['views'].path).as_posix()
 def items(self):
     try:
         # assume the input is a file
         return QueenbeeTask.load_input_param(self.views_list)
     except:
         # it is a parameter
         return pathlib.Path(
             self.input()['SplitView']['views_list'].path).as_posix()
Esempio n. 7
0
 def view_count(self):
     return QueenbeeTask.load_input_param(
         pathlib.Path(
             self.params_folder,
             os.path.split(self.input()['ComputeViewSplitCount']
                           ['split_count'].path)[-1]).resolve().as_posix())