示例#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
示例#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
示例#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()
示例#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
示例#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()
示例#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())