Closed HubLot closed 8 years ago
Hi,
In this PR, you will find a first step in the modularization of PBstat. I changed a little bit the PBstat.py:
array_to_string
Since in Python, there is a clear distinction between bytes and str, the line :
(out, err) = proc.communicate(transfac_content)
was not working. I change it to specifiy the coding:
(out, err) = proc.communicate(transfac_content.encode('UTF-8'))
I also created a few regressions tests :
--neq
test_data
Hi,
In this PR, you will find a first step in the modularization of PBstat. I changed a little bit the PBstat.py:
array_to_string
) with it's call. It wasn't used anymoreSince in Python, there is a clear distinction between bytes and str, the line :
was not working. I change it to specifiy the coding:
I also created a few regressions tests :
--neq
option, assess the Neq file is the same as the reference. Hence, few references files have been added totest_data
.