Previous changeset 0:024ed7b0ad93 (2018-01-04) |
Commit message:
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/bed_to_protein_map commit 2a470e2c775a7427aa530e058510e4dc7b6d8e80" |
modified:
bed_to_protein_map.py bed_to_protein_map.xml |
b |
diff -r 024ed7b0ad93 -r a7c58b43cbaa bed_to_protein_map.py --- a/bed_to_protein_map.py Thu Jan 04 16:29:38 2018 -0500 +++ b/bed_to_protein_map.py Tue Apr 07 11:33:11 2020 -0400 |
b |
@@ -34,14 +34,14 @@ try: for linenum, line in enumerate(input_rdr): if args.debug: - print >> sys.stderr, "%d: %s\n" % (linenum, line) + sys.stderr.write("%d: %s\n" % (linenum, line)) if line.startswith('#'): continue if line.strip() == '': continue fields = line.rstrip('\r\n').split('\t') if len(fields) < 12: - print >> sys.stderr, "%d: %s\n" % (linenum, line) + sys.stderr.write("%d: %s\n" % (linenum, line)) continue (chrom, _chromStart, _chromEnd, name, score, strand, _thickStart, _thickEnd, itemRgb, @@ -91,8 +91,8 @@ strand, cds_start, cds_end)) cds_start = cds_end pass - except Exception, e: - print >> sys.stderr, "failed: %s" % e + except Exception as e: + sys.stderr.write("failed: %s\n" % e) exit(1) |
b |
diff -r 024ed7b0ad93 -r a7c58b43cbaa bed_to_protein_map.xml --- a/bed_to_protein_map.xml Thu Jan 04 16:29:38 2018 -0500 +++ b/bed_to_protein_map.xml Tue Apr 07 11:33:11 2020 -0400 |
b |
@@ -1,6 +1,7 @@ -<tool id="bed_to_protein_map" name="bed to protein map" version="0.1.0"> +<tool id="bed_to_protein_map" name="bed to protein map" version="0.2.0"> <description>genomic location of proteins for MVP</description> <requirements> + <requirement type="package" version="3.7">python</requirement> </requirements> <stdio> <exit_code range="1:" /> |