-
Notifications
You must be signed in to change notification settings - Fork 6
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
Bug fixes #29
Conversation
…b-parameters and input nodes are given (#23)
…ency structure of nodes by introducing "callback", "process" and "data" edges.; implemented new topological sorting algorithm
…s; added and updated data and dependency properties of OpenEONode; fixed minor bugs
Added anomaly and climatological_normal processes from 1.0 API
The new bug_fixes branch does not work for me. For any graph I want to process, I get an error:
Is there something I should change or install wrt to the previous version in the master branch? |
It doesn't work for me, for every process graph I get many KeyError messages.
|
@clausmichele interesting, I can parse correctly this EVI PG (which seems to be identical to the one you copy-pasted).
|
For your process graph in my case it returns the same error: Anyway, I've installed this bug_fixes branch in this way:
|
@clausmichele so you don't install the library in a dedicated environment? Maybe you already have a previous version that clashes, could you try with a pipenv/conda environment? |
Yes I'm using conda and I deleted the previous version. Anyway, I've just created a new env with
where EVI_EODC.json is this. |
The description of that var is here, line 269. Could you try with |
With var=None it reads the processes in ./processes. I'm pretty sure about this, since I always left it None and added new json processes there (as I did for the last pull request with climatological_normal and anomaly). |
I have the same error as @clausmichele on the JEODPP platform parsing with bug_fixes branch:
parsing with master branch:
Hopefully this helps. |
@kempenep @lforesta @clausmichele : First, thanks for testing and sorry for my late reply! |
Now it works for me too, I'll wait for the new documentation to fully understand the changes from the previous version. |
According to the API definition the field `parameters` is nullable. Fixes #30 Signed-off-by: sherrmann <[email protected]>
…dexing a node in a graph
I have updated and extended the documentation inside the Jupyter Notebook and HTML file. Please check if everything is understandable and works properly. |
Refs #31 Signed-off-by: sherrmann <[email protected]>
Support `"parameters": None`
… return a graph again
@claxn for completeness it would be nice to have an example of the use of |
All working for me now. |
@clausmichele any other open issue that should be addressed in this PR? |
for me it's also ok! |
@clausmichele @lforesta : Please test the new version if it works for you. The behaviour of a few functions has changed and a few new ones have been added, so that you get every information you need at a node, hopefully. Please note that the sorting behaviour is also now a bit different, actually being now the right order of process calls. I will update the documentation of the README, Jupiter Notebook, CHANGELOG, etc. within the next days.
If you have any ideas or requests for improving or adding missing functionality, please let me know.