ejeschke / glue-ginga Goto Github PK
View Code? Open in Web Editor NEWGinga viewer plugin for Glue
License: Other
Ginga viewer plugin for Glue
License: Other
While this is available under pip
, I cannot find it in conda-forge
nor AstroConda.
The developer version of glue has completely re-written viewers (including the image viewer), so I need to update this plugin to work correctly with the latest version. This issue is to serve as a heads-up that I am aware things are broken, and also that I'll work on it :)
What do you think, @astrofrog ?
You can see this problem with 2 different workflows.
Workflow 1
Workflow 2
See if anything breaks in Ginga v3 and latest Glue release.
@ejeschke - would it be possible to add me to AppVeyor so I can control the builds if needed?
Workflow:
Traceback (most recent call last):
File ".../glue/core/application_base.py", line 25, in wrapper
return func(*args, **kwargs)
File ".../glue/core/application_base.py", line 197, in add_data
self.add_datasets(self.data_collection, datasets)
File ".../glue/core/application_base.py", line 250, in add_datasets
data_collection.extend(datasets)
File ".../glue/core/data_collection.py", line 84, in extend
[self.append(d) for d in data]
File ".../glue/core/data_collection.py", line 84, in <listcomp>
[self.append(d) for d in data]
File ".../glue/core/data_collection.py", line 75, in append
self._sync_link_manager()
File ".../glue/core/data_collection.py", line 111, in _sync_link_manager
for link in d.coordinate_links:
File ".../glue/core/data.py", line 586, in coordinate_links
self.coords, i)
File ".../glue/core/component_link.py", line 317, in __init__
comp_from = [comp_from[i] for i in self.from_needed]
File ".../glue/core/component_link.py", line 317, in <listcomp>
comp_from = [comp_from[i] for i in self.from_needed]
IndexError: list index out of range
To whom it may concern,
If you are using https://github.com/astropy/ci-helpers in your appveyor.yml , please know that the Astropy project has dropped active development/support for Appveyor CI. If it still works, good for you, because we did not remove the relevant files (yet). But if it ever stops working, we have no plans to fix anything for Appveyor CI. Please consider using native Windows support other CI, e.g., Travis CI (see https://docs.travis-ci.com/user/reference/windows/). We apologize for any inconvenience caused.
If this issue is opened in error or irrelevant to you, feel free to close. Thank you.
Spectrum mode is broken due to refactoring in Glue and needs to be re-implemented.
This needs more documentation than a README.
Follow up to #6 and #10: Use glue_ginga.qt.layer_artist.DataImage
(edited) in Glue plugin for Ginga.
A quick attempt in #10 resulted in IndexError
. More investigation is needed.
I am using dev version of Ginga, Glue 0.11 from pip
, and dev verson of glue_ginga
. When I press "Start Glue" in the plugin, I get:
Error making callback 'activated': __init__() got an unexpected keyword argument 'maximized'
Traceback:
File ".../ginga/misc/Callback.py", line 128, in make_callback
res = method(*cb_args, **cb_kwdargs)
File ".../glue_ginga/plugins/Glue.py", line 164, in <lambda>
b.start_glue.add_callback('activated', lambda w: self.start_glue_cb())
File ".../glue_ginga/plugins/Glue.py", line 305, in start_glue_cb
self.glue_app = qglue()
File ".../glue_ginga/plugins/Glue.py", line 378, in qglue
ga = GlueApplication(data_collection=dc, maximized=False)
I have a vague recollection of adding the maximized
keyword myself and this used to work, though I have not used it in a while.
c/c @astrofrog
xref #20 (comment)
Although there is no strong urgency to do so, I wonder whether we should update the required version of ginga in the plugin package. It seems to me that at the very least it would be better to specify a version in the new versioning scheme, which is similar to other packages now.
The latest released Ginga is 2.6.2
The install_requires
dependencies found in setup.py
of the v0.1.1 release are not compatible with the latest introduction of glue-core
. This prevents building the conda package for that version using the recipe found in https://github.com/astroconda/astroconda-contrib
The install_requires
list insetup.py
as found in master corrects this issue.
The Ginga viewer for Glue is missing the "RGB" feature to load 3 different mono images from a data set into an RGB image.
This should be straightforward to add, as Ginga supports RGB images.
I don't think this feature ever took off. Not sure if it even works now. Should we just archive this repo?
This is a follow-up to #5.
These are addressed in #10:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.