Skip to content

Commit fa9725e

Browse files
STY: apply black
1 parent 12baa10 commit fa9725e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

rocketpy/environment/environment.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1912,8 +1912,10 @@ def process_forecast_reanalysis(
19121912
# Compute info data
19131913
self.atmospheric_model_init_date = get_initial_date_from_time_array(time_array)
19141914
self.atmospheric_model_end_date = get_final_date_from_time_array(time_array)
1915-
if (self.atmospheric_model_init_date != self.atmospheric_model_end_date):
1916-
self.atmospheric_model_interval = get_interval_date_from_time_array(time_array)
1915+
if self.atmospheric_model_init_date != self.atmospheric_model_end_date:
1916+
self.atmospheric_model_interval = get_interval_date_from_time_array(
1917+
time_array
1918+
)
19171919
else:
19181920
self.atmospheric_model_interval = 0
19191921
self.atmospheric_model_init_lat = lat_list[0]

0 commit comments

Comments
 (0)