galaxy-language-server
galaxy-language-server copied to clipboard
tool snippet gives linter errors
More an planemo / galaxy issue but I guess its good to keep track here:
Applying linter xml_order... CHECK
.. INFO: Unknown tag [xrefs] encountered, this may result in a warning in the future.
.. INFO: Unknown tag [edam_topics] encountered, this may result in a warning in the future.
.. INFO: Unknown tag [edam_operations] encountered, this may result in a warning in the future.
....
.. ERROR: Invalid XML found in file: mztab2tsv.xml. Errors [/tmp/tmp48f2aqmq:1:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_3_2_1: Element 'tool', attribute 'license': The attribute 'license' is not allowed.
@bernt-matthias if you install the latest (dev) version of galaxy-tool-util https://pypi.org/project/galaxy-tool-util/ that should be fixed.
Yes, since the v0.3.1 release of the VSCode/Codium extension we are using the galaxy-tool-util==21.1.0.dev4 wich should be the same for the latest release of planemo here
After further investigation on this issue, the problem seems to be a mismatch between the latest IUC Coding Style documentation and the latest TAG_ORDER definition in galaxy-tool-util.
There is also an open discussion and a draft PR https://github.com/galaxy-iuc/standards/pull/58 that may potentially change the current order, so maybe is better to wait until it is resolved. I'll update the snippet to reflect the final decision when it is made.
Thank you @bernt-matthias for bringing that up!