Bugfix - Summary Statistics Script - Python incompatibility

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Bugfix - Summary Statistics Script - Python incompatibility

Christopher Previti

Dear all,

I hope this can be of use to somebody...

We were having problems with the Summary Statistics Tools

/galaxy/tools/stats/gsummary.py

 As indicated there is a dependency on rpy2 (Version 2.7.8), which requires python 3.5 and comes into conflict with the qsummary.py which uses 2.*

Change 

Line 63:  tmp_file = tempfile.NamedTemporaryFile( 'w+b' )

to

 tmp_file = tempfile.NamedTemporaryFile( 'w+' )

Then it'll work.

Cheers,

Christopher

--
Dr. Christopher Previti
Genomics and
Proteomics Core Facility
High Throughput Sequencing (W190)
Bioinformatician

German Cancer Research Center (DKFZ)
Foundation under Public Law
Im Neuenheimer Feld 580
69120 Heidelberg
Germany
Room: B2.102 (INF580/TP3)
Phone: +49 6221 42-4434

christopher.previti@...
www.dkfz.de

Management Board: Prof. Dr. Michael Baumann, Prof. Dr. Josef Puchta
VAT-ID No.: DE143293537

Vertraulichkeitshinweis: Diese Nachricht ist ausschließlich für die Personen bestimmt, an die sie adressiert ist.
Sie kann vertrauliche und/oder nur für den/die Empfänger bestimmte Informationen enthalten. Sollten Sie nicht
der bestimmungsgemäße Empfänger sein, kontaktieren Sie bitte den Absender und löschen Sie die Mitteilung.
Jegliche unbefugte Verwendung der Informationen in dieser Nachricht ist untersagt.



    

___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/
Loading...