Cool :) Thanks.
Matthias
On 28.05.2018 09:52, Björn Grüning wrote:
Hi Matthias,
check this one out: https://github.com/erasche/argparse2tool
Cheers,
Bjoern
Am 28.05.2018 um 09:43 schrieb Matthias Bernt:
Dear list,
just a question for advice: I plan to wrap a python script (with lots
of options) which uses the argparse library. I was wondering if
somebody has an idea to generate the tool xml (semi-)automatically?
For instance, by subclassing the formatter, parsing the python code,
or parsing the command line...
Cheers,
Matthias
--
-------------------------------------------
Matthias Bernt
Bioinformatics Service
Molekulare Systembiologie (MOLSYB)
Helmholtz-Zentrum für Umweltforschung GmbH - UFZ/
Helmholtz Centre for Environmental Research GmbH - UFZ
Permoserstraße 15, 04318 Leipzig, Germany
Phone +49 341 235 482296,
m.bernt@ufz.de, www.ufz.de
Sitz der Gesellschaft/Registered Office: Leipzig
Registergericht/Registration Office: Amtsgericht Leipzig
Handelsregister Nr./Trade Register Nr.: B 4703
Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board:
MinDirig Wilfried Kraus
Wissenschaftlicher Geschäftsführer/Scientific Managing Director:
Prof. Dr. Dr. h.c. Georg Teutsch
Administrative Geschäftsführerin/ Administrative Managing Director:
Prof. Dr. Heike Graßmann
-------------------------------------------