hexylena / galaxyxml

XML Generation libraries for Galaxy Tool/ToolDeps XML
Apache License 2.0
6 stars 5 forks source link

First version of the module to import existing Galaxy XML wrapper #13

Closed khillion closed 7 years ago

khillion commented 7 years ago

Hi,

Here is the first version of the module to import an existing Galaxy XML.

Basically, you just need to create a GalaxyXmlParser and use the import_xml() method:

from galaxyxml.tool.import_xml import GalaxyXmlParser
gxp = GalaxyXmlParser()
tool = gxp.import_xml("your_xml.xml")

I have also added a test section with unit test for this module. This has been added to the .travis.yml file too.

I increased version number to 0.4.0 and updated the README but feel free to change it, I am not sure the way it should be done.

I let you try with your favourite XML wrappers :-).

Kenzo

hexylena commented 7 years ago

Woah, very awesome! Yep, 0.4.0 sounds good.

hexylena commented 7 years ago

I've pushed a new tag, travis will publish shortly.