ICRAR / EAGLE

Editor for the Astronomical Graph Language Environment
GNU Lesser General Public License v3.0
0 stars 1 forks source link

Error opening saved EAGLE Logical Graph #8

Closed myxie closed 2 years ago

myxie commented 4 years ago

I created the attached graph in July, and have tried to open it again in the Editor at https://eagle.icrar.org/.

However, when attempting to use the 'Load Graph' option in the GUI, the graph is not opened in the editor. I have successfully opened other graphs.

This graph (SDPContinuumPipelineNoOuter) appears to be a valid DALiuGE LG, as I am able to translate it using the dlg_translator code.

Any indications as to what may have changed in the LG Editor would be greatly appreciated!

SDPContinuumPipelineNoOuter.txt

myxie commented 4 years ago

This may have something to do with a change in EAGLE which has modified the category variable?

An old (working) .graph file that loads and translates is as follows:

            "canHaveInputs": true,
            "canHaveOutputs": true,
            "category": "Component",
            "categoryType": "Application",
            "collapsed": false,
            "colour": "#3498DB",
            "description": "An application component in the form of a Python app",
            "drawOrderHint": 0,
            "exitAppName": "",
            "fields": [...

A newer graph, that is created in EAGLE and can be reloaded, but fails to translate due to PythonApp not being an allowed category in DALIUGE:

            "canHaveInputs": true,
            "canHaveOutputs": true,
            "category": "Component",
            "categoryType": "Application",
            "collapsed": false,
            "colour": "#3498DB",
            "description": "An application component in the form of a Python app",
            "drawOrderHint": 0,
            "exitAppName": "",
            "fields": [...
james-strauss-uwa commented 3 years ago

Sorry I missed this issue, somehow I didn't receive a notification.

You're correct, we moved from the term "Component" to "PythonApp". I hope it didn't cause you too much trouble.

The attached graph seems to load in the current version of EAGLE.