`ushow` method not working
Closed this issue · 0 comments
astrofle commented
Describe the bug
the ushow
method is not working.
It seems the key
and bintable
arguments are swapped when calling udata()
.
How to Reproduce
This reproduces the error:
from dysh.fits import GBTFITSLoad
from dysh.util import get_project_testdata
filename = get_project_testdata() / "AGBT05B_047_01/AGBT05B_047_01.raw.acs/AGBT05B_047_01.raw.acs.fits"
sdf = GBTFITSLoad(filename)
sdf.ushow("SCAN")
However, this works:
sdf.ushow(0,"SCAN")
Loading using SDFITSLoad
results in the same behavior.
Environment
- Dysh version 0.3.0
- Python version 3.9
- OS RedHat7