-
Notifications
You must be signed in to change notification settings - Fork 8
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
Invalid index error related to scan numbers #33
Comments
Yep, you're right, there was a sort operation missing. Could you please try the |
I am getting a different error now |
Ah. Install the master version of dstashader from github. I'll take out
that dependence tomorrow.
Cheers,
Oleg
…---
Sent from my phone. Quality of spelling inversely proportional to finger
size.
On Wed, 22 Apr 2020, 00:36 ulricharmel, ***@***.***> wrote:
I am getting a different error now
Traceback (most recent call last):
File "/home/ulrich/venv/shadems/bin/shadems", line 7, in
exec(compile(f.read(), *file*, 'exec'))
File "/home/ulrich/venv/shadems/shadeMS/bin/shadems", line 6, in
from shade_ms import main
File "/home/ulrich/venv/shadems/shadeMS/shade_ms/main.py", line 23, in
from . import data_plots, data_mappers
File "/home/ulrich/venv/shadems/shadeMS/shade_ms/data_plots.py", line 232,
in
class extract_multi(datashader.reductions.category_values):
AttributeError: module 'datashader.reductions' has no attribute
'category_values'
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#33 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABRLTP5SEK6OZON4U26QQU3RNYNXTANCNFSM4MNILFJQ>
.
|
It is running now. I have screened it. I will check the result in the morning. |
(shadems) ulrich@jake:/net/tina/vault-tina/ulrich/MeerKAT-rooibos/plots-shadems$ shadems --xaxis FREQ,CHAN --yaxis DATA:amp,DATA:amp ../1558752655_sdp_l0.full_1284.full_pol-4C12_02_corr.ms
2020-04-21 14:11:57 - INFO - /home/ulrich/venv/shadems/bin/shadems --xaxis FREQ,CHAN --yaxis DATA:amp,DATA:amp ../1558752655_sdp_l0.full_1284.full_pol-4C12_02_corr.ms
2020-04-21 14:11:57 - INFO - ------------------------------------------------------
2020-04-21 14:11:57 - INFO - : MS ../1558752655_sdp_l0.full_1284.full_pol-4C12_02_corr.ms contains 2624832 rows
2020-04-21 14:11:57 - INFO - : (1, 1024) spectral windows and channels
2020-04-21 14:11:57 - INFO - : 1 fields: 4C12.02
2020-04-21 14:11:58 - INFO - : 12 scans, first #2, last #31
Traceback (most recent call last):
File "/home/ulrich/venv/shadems/bin/shadems", line 7, in
exec(compile(f.read(), file, 'exec'))
File "/home/ulrich/venv/shadems/shadeMS/bin/shadems", line 8, in
main.main([a for a in sys.argv[1:]])
File "/home/ulrich/venv/shadems/shadeMS/ShadeMS/main.py", line 285, in main
ms = sms.ms = MSInfo(options.ms, log=log)
File "/home/ulrich/venv/shadems/shadeMS/ShadeMS/ms_info.py", line 82, in init
self.scan = all_scans.get_subset(scan_numbers)
File "/home/ulrich/venv/shadems/shadeMS/ShadeMS/ms_info.py", line 30, in get_subset
return NamedList(self.label, [self.names[x] for x in subset], subset)
File "/home/ulrich/venv/shadems/shadeMS/ShadeMS/ms_info.py", line 30, in
return NamedList(self.label, [self.names[x] for x in subset], subset)
IndexError: list index out of range
I get the above error which I am suspecting is related to the scan numbers in this ms which are [2, 36, 6, 40, 10, 44, 14, 48, 19, 23, 27, 31]
Here is the branch I used: https://github.com/IanHeywood/shadeMS/tree/harlequin
The text was updated successfully, but these errors were encountered: