Skip to content

Commit ea69c0f

Browse files
author
Alvaro Arroyo Parejo
committed
minor corrections
1 parent 4af0077 commit ea69c0f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

astroquery/esa/neocc/tabs.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
* Property: European Space Agency (ESA)
1111
* Developed by: Elecnor Deimos
1212
* Author: C. Álvaro Arroyo Parejo
13-
* Issue: 2.1.0
14-
* Date: 01-03-2021
13+
* Issue: 2.2.0
14+
* Date: 19-08-2022
1515
* Purpose: Module which request and parse list data from ESA NEOCC
1616
* Module: tabs.py
1717
* History:
@@ -50,6 +50,7 @@
5050
Adding redundancy for tab *summary* parsing.
5151
2.0.0 21-01-2022 Prepare module for Astroquery integration
5252
2.1.0 01-03-2022 Remove *parse* dependency
53+
2.2.0 19-08-2022 Minor corrections
5354
======== =========== =====================================================
5455
5556
© Copyright [European Space Agency][2022]
@@ -300,6 +301,7 @@ def _get_footer(data_obj):
300301

301302
# Drop NaN values if necessary
302303
df_txt = df_txt.dropna(how='all')
304+
303305
# Template for observations data:
304306
# Based on {total} optical observations (of which {rejected}
305307
# are rejected as outliers)
@@ -620,7 +622,6 @@ def _phys_prop_parser(self, data_obj):
620622
# Initialize index
621623
index = 0
622624
if len(df_check.columns) > 4:
623-
# rest = len(df_check.columns) - 4
624625
# Iterate over each element in last col to find
625626
# rows with additional elements separated by commas
626627
for element in df_check.iloc[:, -1]:
@@ -753,7 +754,6 @@ def _get_head_obs(df_d):
753754
else:
754755
mag = float(df_head.iloc[3][0].split('=')[1].strip())
755756

756-
757757
return ver, err, ast, mag
758758

759759
@staticmethod
@@ -1829,7 +1829,6 @@ def _get_head_ephem(data_obj):
18291829
# Template for initial date: Time step: {step}
18301830
tstep = head_ephe.iloc[4][0].split(':')[1].strip()
18311831

1832-
18331832
return obs, idate, fdate, tstep
18341833

18351834
def _ephem_parser(self, name, observatory, start, stop, step, step_unit):

0 commit comments

Comments
 (0)