Mercurial > repos > galaxyp > maxquant
changeset 9:37d669de2828 draft
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/maxquant commit 5e4f8567c0145de8c6f9344fe4ee4c3bf2a81e59"
author | galaxyp |
---|---|
date | Fri, 19 Feb 2021 21:24:41 +0000 |
parents | ea0a1d50c83f |
children | f522c08e900c |
files | create_mqpar.py mqparam.py test_mqparam.py |
diffstat | 3 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/create_mqpar.py Wed Jun 03 15:32:53 2020 -0400 +++ b/create_mqpar.py Fri Feb 19 21:24:41 2021 +0000 @@ -4,8 +4,8 @@ import argparse import os + import yaml - from mqparam import MQParam parser = argparse.ArgumentParser()
--- a/mqparam.py Wed Jun 03 15:32:53 2020 -0400 +++ b/mqparam.py Fri Feb 19 21:24:41 2021 +0000 @@ -6,11 +6,12 @@ import ntpath import os import re -import yaml import xml.etree.ElementTree as ET from itertools import zip_longest from xml.dom import minidom +import yaml + def et_add_child(el, name, text, attrib=None): "Add a child element to an xml.etree.ElementTree.Element"
--- a/test_mqparam.py Wed Jun 03 15:32:53 2020 -0400 +++ b/test_mqparam.py Fri Feb 19 21:24:41 2021 +0000 @@ -2,8 +2,9 @@ create a new parameter file using '<MAXQUANT_CMD> -c ./mqpar.xml' """ +import xml.etree.ElementTree as ET + import pytest -import xml.etree.ElementTree as ET from mqparam import MQParam, ParamGroup TEMPLATE_PATH = './test-data/template.xml'