Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot show table and table list #302

Open
Firestar-Reimu opened this issue May 9, 2024 · 0 comments
Open

Cannot show table and table list #302

Firestar-Reimu opened this issue May 9, 2024 · 0 comments

Comments

@Firestar-Reimu
Copy link

Firestar-Reimu commented May 9, 2024

Describe the bug

图片

result is a table list (a list with multiple tables), it has a magnifier glass icon but it cannot be viewed

result_table

To Reproduce
Steps to reproduce the behavior:

from astroquery.vizier import Vizier

result = Vizier.query_object("Sirius")

from astroquery.simbad import Simbad

result_table = Simbad.query_object("vega")

Expected behavior
A clear and concise description of what you expected to happen.

astropy table should be displayed as this:

图片

with no Ellipsis ...

table list should be displayed as a list which every item can be clicked in as a table to view

Screenshots
If applicable, add screenshots to help explain your problem.

Your Environment(please complete the following information):

  • OS (important): ArchLinux
  • Browser Firefox
  • Version of this extension you are using 3.2.1

Additional context
Add any other context about the problem here.

create a table like this:

from astropy.table import QTable
import astropy.units as u
import numpy as np

a = np.array([1, 4, 5], dtype=np.int32)
b = [2.0, 5.0, 8.5]
c = ['x', 'y', 'z']
d = [10, 20, 30] * u.m / u.s

t = QTable([a, b, c, d],
           names=('a', 'b', 'c', 'd'),
           meta={'name': 'first table'})

and you can check the viewing of variable Inspector

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant