# HG changeset patch # User triasteran # Date 1646664415 0 # Node ID 46274846fc0c5b0471257c6ae57f0b9e3346ea2b Uploaded diff -r 000000000000 -r 46274846fc0c PY2_PATCH/py2_patch.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PY2_PATCH/py2_patch.xml Mon Mar 07 14:46:55 2022 +0000 @@ -0,0 +1,24 @@ + + + bowtie + + '$output1' + ]]> + + + + + + + + + + + + + + + diff -r 000000000000 -r 46274846fc0c PY2_PATCH/script.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PY2_PATCH/script.py Mon Mar 07 14:46:55 2022 +0000 @@ -0,0 +1,15 @@ +import sys +print 'script starts!' + +input1 = sys.argv[1] +output1 = sys.argv[2] + +I = open(input1, 'r') +O = open(output1, 'w') + +for f in I.readlines(): + O.write(f+'1'+'\n') + +O.close() +I.close() + diff -r 000000000000 -r 46274846fc0c PY2_PATCH/test-data/input.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PY2_PATCH/test-data/input.txt Mon Mar 07 14:46:55 2022 +0000 @@ -0,0 +1,5 @@ +A +B +C +D +E