-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add in Qt5/Qwt5 changes from Tony #71
base: master
Are you sure you want to change the base?
Conversation
Co-authored-by: Tony Willis <[email protected]>
@twillis449 which plots are currently not working? I'm running against the latest version of pyqwt5 although. I have the following as dependencies:
along with a dependency on Qt4 which can now be changed to pyqt 5? I can probably remove the sip croft in meqbrowser now to drop the implicit dependency on sip |
So I believe we now depend on https://pypi.org/project/QtPy/ ? I will need to add that to setup.py. You don't need sip do you? |
Not passing yet
|
I don't understand why you have a dependency for matplotlib. At least, 'back in the day' qwt was chosen over matplotlib because qwt was much faster than matplotlib. I think all the plotting stuff uses PyQt5 and, in that sense, should work reasonably well. However, while the visibility plotting works OK with ATCA or 'old' pre-Apertif WSRT data sets, there's no way it's going to handle current MeerKAT visibility data sets - - well, maybe things will work on some giant computer cluster, but not on my laptop - LOL. For my amusement, I requested a UV data set for one of the MeekKAT cluster legacy survey fields, and the archive said it was going to send me a 3 Tb file! Since my laptop only has 1.5 Tb storage, I had to decline! I don't use sip directly, so I don't think you have to worry about that. |
I did a quick search of the code and it looks like it's not imported anywhere so probably safe to remove.
Yip! On a laptop your best option is to use |
Thanks @twillis449. Yes I believe we can remove matplotlib from meqtrees-frontend's requirement list. It is in use (along with bokeh) by owlcat, so it will be pulled in through that requirements list. I'm still working on polishing this so that the backend works in the absence of qt5 (pipeline mode), but I should be able to wrap that up today. I will do some testing on the frontend to make sure everything, including install, works as expected before opening a PR for that |
- Add in newest FindCasaCore and FindCasarest from LOFARsoft - Make Casarest include and library paths customizable
Hmm no... it seems the new changes in signaling is breaking the standalone QObject in PyApps/Apps/QObject.py making the pipeliner impossible to use when Qt is not installed. My Qt knowledge is super limited here so not sure what a good fix would be @twillis449 |
|
Hmm ... should this not read self.serverConnected (multiapp_proxy(QObject) has a bunch of signals at class scope) |
Nope solidly stuck at this point - reverting my changes. It looks like the entire signalling standing will need to be rewritten for this to work |
Hum - my only suggestion ... there are some other python (and also C++) packages that aim to provide the signal/slot mechanism without PyQt (or QObjct) or Qt. Have a look at https://github.com/dgovil/PySignal and references given at the bottom there. Possibly something can be adapted from there. |
Thanks, I'm still working on a fix for this |
@twillis449 I merged in your gui changes on meqtrees-frontend. However I see there is a ton of places where you say it does not work for Python3. Is there something wrong with the qt package? Do we need to rebuild it from source for another version? Edit: I'm still working on implementing an alternative signalling system for the backend. Unfortunately the package mentioned does not really provide QObject support so I'm going to go with something not-so-Qt specific as different codepaths when running headless |
Also @twillis449 have you already made changes to Kittens and Purr? I notice kittens are still being pulled in and that still has qt4 dependencies. I can make changes to the signals, but I want to check with you first |
Starting an integration test for this branch of the backend. I have spit and merged tony's changes into Timba and into MeqGUI.
Co-authored-by: Tony Willis