Import clean up and documentation for compute tool.

This commit is contained in:
Jeremy Goecks
2013-03-18 10:09:43 -04:00
parent 204f561bcd
commit 502236ca2b
+5 -5
View File
@@ -1,13 +1,13 @@
#!/usr/bin/env python
# This tool takes a tab-delimited textfile as input and creates another column in the file which is the result of
# a computation performed on every row in the original file. The tool will skip over invalid lines within the file,
# informing the user about the number of lines skipped.
import sys, re, os.path
from galaxy import eggs
from galaxy.tools import validation
from galaxy.datatypes import metadata
# informing the user about the number of lines skipped.
import sys, re
# These functions may be used in compute expression:
from math import log,exp,sqrt,ceil,floor
assert sys.version_info[:2] >= ( 2, 4 )
def stop_err( msg ):