Repository navigation
Move self-test for Bio.PDB.PSEA - #1336
souravsingh wants to merge 5 commits into
Conversation
|
@peterjc The test is throwing an error due to file mismatch. |
|
e.g. Where does the |
|
The self-test takes |
|
Right, but you need the Also, if you run this locally and check in the file, we can test the parser side of things even without the binary? |
|
For checking the |
|
@peterjc I found the |
|
Overall this is looking better. There are some style issues to address: |
|
It looks like we could download and compile p-sea on TravisCI, perhaps something like this - note that unusually the tar-ball does not use a sub-folder: I wonder however since p-sea has not been updated since September 1996 if we should deprecate the module... |
|
@peterjc Should we discuss deprecation of PSEA module at the mailing list? I am not sure if anyone uses the module. |
|
Yes, please bring the possible deprecation up on the mailing list. |
|
|
||
| os.environ['LANG'] = 'C' | ||
|
|
||
| p-sea = None |
There was a problem hiding this comment.
You cannot use a minus-sign/hyphen as part of a Python variable name. How about psea or p_sea here?
| except OSError: | ||
| pass | ||
|
|
||
| if not clustalo_exe: |
There was a problem hiding this comment.
That should be testing if the p-sea tool was found (see comment about what to use as the variable name).
| pass | ||
|
|
||
| if not clustalo_exe: | ||
| raise MissingExternalDependencyError( |
There was a problem hiding this comment.
You have not imported this exception, you need to include:
from Bio import MissingExternalDependencyError|
@peterjc Should we wait for @JoaoRodrigues reply on deprecating |
|
True. If we are going to deprecate the PSEA module, there is less reason to bother with this testing work. |
|
@peterjc Is this good to merge, since we have confirmed |
|
The tests are failing so its not ready to merge, Are you interested in setting up a BioConda package for P-SEA? There isn't a Debian package so we can't use that on TravisCI, but we could perhaps try adding installing P-SEA to our |
|
@peterjc I can help setup a Bioconda package for p-sea. It would take a few minutes to create a PR. |
|
See #1384, we decided not to deprecate the P-SEA code. See also bioconda/bioconda-recipes#5948 for getting P-SEA into BioConda |
|
Hey, I started working on this issue but the p-sea tool won't compile on my machine. Couldn't find documentation for it, so I would be grateful if someone could point/help me out here. |
|
See #1384 (comment) about adding an include for |
|
Hm that didn't work as well for me, I'm on an intel based mac. people mention it works for them, kinda weird. |
|
You need to declare the |
Fixes a part of #820