Previous changeset 23:a6373b98096a (2018-10-23) Next changeset 25:c32600ce6c9a (2019-02-22) |
Commit message:
planemo upload for repository https://github.com/peterjc/galaxy_blast/tree/master/tools/blastxml_to_top_descr commit fcaa51faf93ef07835c3bade298a8d24d931ee1b-dirty |
modified:
tools/blastxml_to_top_descr/blastxml_to_top_descr.py |
b |
diff -r a6373b98096a -r c07b61d069ac tools/blastxml_to_top_descr/blastxml_to_top_descr.py --- a/tools/blastxml_to_top_descr/blastxml_to_top_descr.py Tue Oct 23 06:26:04 2018 -0400 +++ b/tools/blastxml_to_top_descr/blastxml_to_top_descr.py Fri Nov 09 11:59:43 2018 -0500 |
[ |
@@ -151,15 +151,15 @@ header = handle.read(100) sys.exit("Unable to get root element from XML file %r which starts: %r" % (in_file, header)) - re_default_query_id = re.compile("^Query_\d+$") - assert re_default_query_id.match("Query_101") - assert not re_default_query_id.match("Query_101a") - assert not re_default_query_id.match("MyQuery_101") - re_default_subject_id = re.compile("^Subject_\d+$") - assert re_default_subject_id.match("Subject_1") - assert not re_default_subject_id.match("Subject_") - assert not re_default_subject_id.match("Subject_12a") - assert not re_default_subject_id.match("TheSubject_1") + re_default_query_id = re.compile(r"^Query_\d+$") + assert re_default_query_id.match(r"Query_101") + assert not re_default_query_id.match(r"Query_101a") + assert not re_default_query_id.match(r"MyQuery_101") + re_default_subject_id = re.compile(r"^Subject_\d+$") + assert re_default_subject_id.match(r"Subject_1") + assert not re_default_subject_id.match(r"Subject_") + assert not re_default_subject_id.match(r"Subject_12a") + assert not re_default_subject_id.match(r"TheSubject_1") current_query = None hit_descrs = [] |