mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Revert to previous changes if using rpy2
This commit is contained in:
@@ -110,7 +110,12 @@ def main():
|
||||
stop_err( "Computation resulted in the following error: %s" % str( s ) )
|
||||
summary = summary.as_py( BASIC_CONVERSION )
|
||||
outfile.write( "#%s\n" % headings_str )
|
||||
outfile.write( "%s\n" % "\t".join( [ "%g" % summary[k] for k in summary ] ) )
|
||||
if type(summary) is dict:
|
||||
#using rpy
|
||||
outfile.write( "%s\n" % "\t".join( [ "%g" % summary[k] for k in summary ] ) )
|
||||
else:
|
||||
#using rpy2
|
||||
outfile.write( "%s\n" % "\t".join( [ "%g" % k for k in summary ] ) )
|
||||
outfile.close()
|
||||
|
||||
if skipped_lines:
|
||||
|
||||
Reference in New Issue
Block a user