galaxy-language-server icon indicating copy to clipboard operation
galaxy-language-server copied to clipboard

tool snippet gives linter errors

Open bernt-matthias opened this issue 4 years ago • 3 comments

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 avatar Jan 15 '21 11:01 bernt-matthias

@bernt-matthias if you install the latest (dev) version of galaxy-tool-util https://pypi.org/project/galaxy-tool-util/ that should be fixed.

bgruening avatar Jan 15 '21 11:01 bgruening

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

davelopez avatar Jan 15 '21 12:01 davelopez

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!

davelopez avatar Jan 24 '21 11:01 davelopez