@@ -26,14 +26,13 @@ def test_fetch_dependencies(self, mock_download):
2626 mock_sw_eqtr_electrons = Path ('sw_eqtr_electrons_sdc_path' )
2727 ionization_files = Path ('ionization_files_path' )
2828 mock_pipeline_settings = Path ('l3bcde_pipeline_settings.json' )
29- mock_lo_elongation_file = Path ('lo_elongation_data.dat' )
3029 mock_tess_ang_16 = Path ('tess_ang_16_path' )
3130 mock_repoint_file = Path ('repoint.csv' )
3231
3332 mock_processing_input_collection .get_file_paths .side_effect = [
3433 [mock_lya_series ], [mock_solar_uv_anisotropy ], [mock_speed_3d_sw ], [mock_density_3d_sw ],
3534 [mock_phion_hydrogen ], [mock_sw_eqtr_electrons ], [ionization_files ], [mock_pipeline_settings ],
36- [mock_tess_xyz_8 ], [mock_energy_grid_lo ], [ mock_lo_elongation_file ],
35+ [mock_tess_xyz_8 ], [mock_energy_grid_lo ],
3736 [mock_energy_grid_hi ],
3837 [mock_energy_grid_ultra ], [mock_tess_ang_16 ],
3938 [mock_repoint_file ]
@@ -50,7 +49,6 @@ def test_fetch_dependencies(self, mock_download):
5049 mock_ionization_files_path = Mock ()
5150 mock_energy_grid_lo_path = Mock ()
5251 mock_tess_xyz_8_path = Mock ()
53- mock_lo_elongation_path = get_test_data_path ('glows/imap_lo_elongation-data_20100101_v001.dat' )
5452 mock_energy_grid_hi_path = Mock ()
5553 mock_energy_grid_ultra_path = Mock ()
5654 mock_tess_ang_16_path = Mock ()
@@ -59,15 +57,15 @@ def test_fetch_dependencies(self, mock_download):
5957 mock_download .side_effect = [
6058 mock_lya_series_path , mock_solar_uv_anisotropy_path , mock_speed_3d_sw_path ,
6159 mock_density_3d_sw_path , mock_phion_hydrogen_path , mock_sw_eqtr_electrons_path , mock_ionization_files_path ,
62- fake_pipeline_settings_path , mock_energy_grid_lo_path , mock_tess_xyz_8_path , mock_lo_elongation_path ,
60+ fake_pipeline_settings_path , mock_energy_grid_lo_path , mock_tess_xyz_8_path ,
6361 mock_energy_grid_hi_path ,
6462 mock_energy_grid_ultra_path , mock_tess_ang_16_path ,
6563 mock_downloaded_repoint_file ,
6664 ]
6765
6866 actual_dependencies = GlowsL3EDependencies .fetch_dependencies (mock_processing_input_collection )
6967
70- self .assertEqual (15 , mock_processing_input_collection .get_file_paths .call_count )
68+ self .assertEqual (14 , mock_processing_input_collection .get_file_paths .call_count )
7169
7270 mock_processing_input_collection .get_file_paths .assert_has_calls ([
7371 call (source = "glows" , descriptor = "lya" ),
@@ -80,7 +78,6 @@ def test_fetch_dependencies(self, mock_download):
8078 call (source = "glows" , descriptor = "pipeline-settings-l3bcde" ),
8179 call (source = "glows" , descriptor = "energy-grid-lo" ),
8280 call (source = "glows" , descriptor = "tess-xyz-8" ),
83- call (source = "lo" , descriptor = "elongation-data" ),
8481 call (source = "glows" , descriptor = "energy-grid-hi" ),
8582 call (source = "glows" , descriptor = "energy-grid-ultra" ),
8683 call (source = "glows" , descriptor = "tess-ang-16" ),
@@ -98,7 +95,6 @@ def test_fetch_dependencies(self, mock_download):
9895 call (mock_pipeline_settings ),
9996 call (mock_tess_xyz_8 ),
10097 call (mock_energy_grid_lo ),
101- call (mock_lo_elongation_file ),
10298 call (mock_energy_grid_hi ),
10399 call (mock_energy_grid_ultra ),
104100 call (mock_tess_ang_16 ),
@@ -135,12 +131,6 @@ def test_fetch_dependencies(self, mock_download):
135131 self .assertEqual (mock_tess_xyz_8_path , actual_dependencies .tess_xyz_8 )
136132 self .assertEqual (mock_tess_ang_16_path , actual_dependencies .tess_ang16 )
137133 self .assertEqual (fake_pipeline_settings_path , actual_dependencies .pipeline_settings_file )
138- self .assertEqual (365 , len (actual_dependencies .elongation ))
139- first_dict_value = actual_dependencies .elongation ['2010001' ]
140- last_dict_value = actual_dependencies .elongation ['2010365' ]
141- self .assertEqual (mock_lo_elongation_path , actual_dependencies .elongation_file )
142- self .assertEqual (105 , first_dict_value )
143- self .assertEqual (105 , last_dict_value )
144134
145135 self .assertEqual (mock_downloaded_repoint_file , actual_dependencies .repointing_file )
146136
@@ -213,7 +203,6 @@ def test_get_lo_parents(self):
213203 "ionization_files.dat" ,
214204 "pipeline_settings.json" ,
215205 "repointing_file.csv" ,
216- "elongation.csv"
217206 ]
218207
219208 self .assertEqual (expected_parent_file_names , dependencies .get_lo_parents ())
@@ -269,8 +258,6 @@ def test_rename_dependencies(self, mock_shutil):
269258 }
270259 },
271260 Path ("path/to/some/pipeline_settings_file.csv" ),
272- {},
273- Path ("path/to/some/elongation_file.csv" ),
274261 Path ("repoint.csv" )
275262 )
276263
@@ -358,7 +345,5 @@ def _create_l3e_dependencies(self) -> GlowsL3EDependencies:
358345 ionization_files = Path ("some/folder/ionization_files.dat" ),
359346 pipeline_settings_file = Path ("some/folder/pipeline_settings.json" ),
360347 pipeline_settings = {},
361- elongation_file = Path ("some/folder/elongation.csv" ),
362- elongation = {},
363348 repointing_file = Path ("some/folder/repointing_file.csv" ),
364349 )
0 commit comments