Esempio n. 1
0
 def copy_sun_up_hours(self, src=parse_sun_up_hours._outputs.sun_up_hours):
     return [
         {
             'from': Copy()._outputs.dst,
             'to': 'results/direct/sun-up-hours.txt'
         }
     ]
Esempio n. 2
0
 def copy_redist_info(self, src=split_grid_folder._outputs.dist_info):
     return [
         {
             'from': Copy()._outputs.dst,
             'to': 'initial_results/final/direct/_redist_info.json'
         }
     ]
Esempio n. 3
0
 def copy_grid_info(self, src=create_rad_folder._outputs.sensor_grids_file):
     return [
         {
             'from': Copy()._outputs.dst,
             'to': 'results/direct/grids_info.json'
         }
     ]
Esempio n. 4
0
 def copy_result_info(
     self, src=create_result_info._outputs.temperature_info
 ) -> List[Dict]:
     return [
         {
             'from': Copy()._outputs.dst,
             'to': 'initial_results/conditions/results_info.json'
         }
     ]
Esempio n. 5
0
def test_copy():
    function = Copy().queenbee
    assert function.name == 'copy'
    assert isinstance(function, Function)