oeplatform
oeplatform copied to clipboard
[Scenario Bundle] Study descriptors do not link to related oeo-terms even if they are available.
Description of the issue
We have recently introduced an update for the descriptors of the scenario bundle for studies. It links the descriptors to the corresponding oeo-terms to provide more context.
After a review by @stap-m, we noticed that terms that are already available (in the oeo) are not linked and the descriptors are grayed out, indicating that no oeo term is available.
Steps to Reproduce
One example is the descriptor "Greenhouse gas emissions" on the TOEP:
- Navigate here http://toep.iks.cs.ovgu.de/scenario-bundles/id/71ee99be-d811-6fc8-0707-f5dea0485529
- Look at the descriptors.
- "Greenhouse gas emissions" badge is nor clickable.
Ideas of solution
Make sure all available terms are linked. See this list for available terms. -> https://github.com/OpenEnergyPlatform/oekg/issues/19
Context and Environment
- Version used:
- Operating system:
- Environment setup and (python) version:
Workflow checklist
- [ ] I am aware of the workflow in CONTRIBUTING.md
This is fixed with the latest release but once i click one of the discriptors the link i get redirected to is not save because the "https://" is missing.
Another thing i noticed. There is "net electricity generation" available in the oeo but not "total net electricity generation". Maybe this also results in non available descriptors links.
This is fixed with the latest release but once i click one of the discriptors the link i get redirected to is not save because the "https://" is missing.
Now fixed. It was hardcoded.