Skip to content

Commit 0aaece5

Browse files
tristandijkstrabsipocz
authored andcommitted
MPC update changelog and docs rst file, fix trailing whitespace
1 parent a363eac commit 0aaece5

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

CHANGES.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1202,6 +1202,7 @@ mpc
12021202
^^^
12031203

12041204
- Functionality added to query observations database. [#1350]
1205+
- Parse star catalog information when querying observations database [#2957]
12051206

12061207

12071208
Service fixes and enhancements

astroquery/mpc/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -889,8 +889,8 @@ def get_observations_async(self, targetid, *,
889889
>>> MPC.get_observations(12893) # doctest: +SKIP
890890
<QTable length=2772>
891891
number desig discovery note1 ... band catalog observatory
892-
...
893-
int32 str9 str1 str1 ... str1 str1 str3
892+
...
893+
int32 str9 str1 str1 ... str1 str1 str3
894894
------ --------- --------- ----- ... ---- ------- -----------
895895
12893 1998 QS55 -- -- ... -- -- 413
896896
12893 1998 QS55 -- -- ... -- -- 413

docs/mpc/mpc.rst

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -445,24 +445,23 @@ asteroid 12893:
445445

446446
>>> obs = MPC.get_observations(12893)
447447
>>> print(obs) # doctest: +IGNORE_OUTPUT
448-
number desig discovery note1 ... DEC mag band observatory
449-
... deg mag
450-
------ --------- --------- ----- ... ------------------- ----- ---- -----------
451-
12893 1998 QS55 -- -- ... -15.78888888888889 0.0 -- 413
452-
12893 1998 QS55 -- -- ... -15.788944444444445 0.0 -- 413
453-
12893 1998 QS55 * 4 ... 5.526472222222222 0.0 -- 809
454-
12893 1998 QS55 -- 4 ... 5.525555555555555 0.0 -- 809
455-
12893 1998 QS55 -- 4 ... 5.524805555555555 0.0 -- 809
456-
12893 1998 QS55 -- 4 ... 5.440555555555556 18.4 -- 809
457-
... ... ... ... ... ... ... ... ...
458-
12893 1998 QS55 -- -- ... 12.63075 18.53 c T05
459-
12893 1998 QS55 -- -- ... 12.63088888888889 18.63 c T05
460-
12893 1998 QS55 -- -- ... 12.631472222222223 18.55 c T05
461-
12893 1998 QS55 -- -- ... 12.669888888888888 18.3 r I41
462-
12893 1998 QS55 -- -- ... 12.71525 18.3 r I41
463-
12893 1998 QS55 -- -- ... 12.716833333333334 18.2 r I41
464-
12893 1998 QS55 -- -- ... 12.717527777777779 18.3 r I41
465-
Length = 1401 rows
448+
number desig discovery note1 note2 ... mag band catalog observatory
449+
... mag
450+
------ --------- --------- ----- ----- ... ----- ---- ------- -----------
451+
12893 1998 QS55 -- -- -- ... ——— -- -- 413
452+
12893 1998 QS55 -- -- -- ... ——— -- -- 413
453+
12893 1998 QS55 * 4 -- ... ——— -- -- 809
454+
12893 1998 QS55 -- 4 -- ... ——— -- -- 809
455+
12893 1998 QS55 -- 4 -- ... ——— -- -- 809
456+
12893 1998 QS55 -- 4 -- ... 18.4 -- -- 809
457+
... ... ... ... ... ... ... ... ... ...
458+
12893 1998 QS55 -- -- C ... 18.71 o V T05
459+
12893 1998 QS55 -- -- C ... 18.31 o V T05
460+
12893 1998 QS55 -- -- C ... 18.41 o V M22
461+
12893 1998 QS55 -- -- C ... 18.52 o V M22
462+
12893 1998 QS55 -- -- C ... 18.43 o V M22
463+
12893 1998 QS55 -- -- C ... 18.2 o V M22
464+
Length = 2772 rows
466465

467466
The query results of `~astroquery.mpc.MPCClass.get_observations` are parsed
468467
into a `~astropy.table.QTable` by default; it is also possible to

0 commit comments

Comments
 (0)