Mercurial > repos > galaxyp > maxquant
comparison mqparam.py @ 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 | d253b379322b |
children |
comparison
equal
deleted
inserted
replaced
8:ea0a1d50c83f | 9:37d669de2828 |
---|---|
4 | 4 |
5 import copy | 5 import copy |
6 import ntpath | 6 import ntpath |
7 import os | 7 import os |
8 import re | 8 import re |
9 import yaml | |
10 import xml.etree.ElementTree as ET | 9 import xml.etree.ElementTree as ET |
11 from itertools import zip_longest | 10 from itertools import zip_longest |
12 from xml.dom import minidom | 11 from xml.dom import minidom |
12 | |
13 import yaml | |
13 | 14 |
14 | 15 |
15 def et_add_child(el, name, text, attrib=None): | 16 def et_add_child(el, name, text, attrib=None): |
16 "Add a child element to an xml.etree.ElementTree.Element" | 17 "Add a child element to an xml.etree.ElementTree.Element" |
17 child = ET.SubElement(el, name, attrib=attrib if attrib else {}) | 18 child = ET.SubElement(el, name, attrib=attrib if attrib else {}) |