Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install external code on travis for complete analysis testing? #898

Closed
2 of 3 tasks
orbeckst opened this issue Jul 10, 2016 · 8 comments
Closed
2 of 3 tasks

install external code on travis for complete analysis testing? #898

orbeckst opened this issue Jul 10, 2016 · 8 comments

Comments

@orbeckst
Copy link
Member

orbeckst commented Jul 10, 2016

Testing on travis currently skips a number of tests that call external tools. Apart from the fact that it reduces our coverage it also simply not good to have code that only gets tested occasionally if one of the @MDAnalysis/coredevs feels like doing it locally.

Should we try to install external packages on travis in order to run these tests?

From the top of my head

HOLE and clustalx (or clustalw) should be pretty easy, x3dna I am not sure.

UPDATE: #906 proposes to make analysis.x3dna a legacy module.

orbeckst added a commit that referenced this issue Jul 11, 2016
orbeckst added a commit that referenced this issue Jul 11, 2016
orbeckst added a commit that referenced this issue Jul 11, 2016
orbeckst added a commit that referenced this issue Jul 11, 2016
orbeckst added a commit that referenced this issue Jul 12, 2016
- conda packages for clustalw2 from https://biobuilds.org/
  https://anaconda.org/biobuilds/clustalw
- enables more tests for analysis.align to pass
- see issue #898 for discussion
orbeckst added a commit that referenced this issue Jul 12, 2016
- conda packages for clustalw2 from https://biobuilds.org/
  https://anaconda.org/biobuilds/clustalw
- enables more tests for analysis.align to pass
- see issue #898 for discussion
@richardjgowers
Copy link
Member

Yeah I'm in favour, more coverage helps reduce headaches down the road

@hainm
Copy link
Contributor

hainm commented Jul 18, 2016

you can build conda packages for external ones, so the travis builds are trivial.

@orbeckst
Copy link
Member Author

True, although HOLE is not free, only available as binary, and I doubt that the license allows repackaging. Otherwise it would be very helpful to have it on Conda.

Oliver Beckstein
email: orbeckst@gmail.com

Am Jul 17, 2016 um 17:34 schrieb Hai Nguyen notifications@github.com:

you can build conda packages for external ones, so the travis builds are trivial.

@orbeckst
Copy link
Member Author

orbeckst commented Jul 19, 2016

Just FYI: the HOLE END USER LICENCE AGREEMENT NOT-FOR-PROFIT VERSION (attached) explicitly forbids making copies, e.g. for conda packages:

You may not:

  • permit other individuals to use the Software except under the terms listed below;
  • modify, translate, reverse engineer, decompile, disassemble (except to the extent applicable laws specifically prohibit such restriction), or create derivative works based on the Software;
  • copy the Software (except for back-up purposes);
  • rent, lease, transfer, or otherwise transfer rights to, the Software;
  • remove any proprietary notices or labels on the Software.

Thus I cannot add it to a conda channel, even though I'd love to do it.

@orbeckst orbeckst self-assigned this Jul 19, 2016
@orbeckst orbeckst removed the question label Jul 19, 2016
@hainm
Copy link
Contributor

hainm commented Jul 19, 2016

copy the Software (except for back-up purposes);

according to this, you can't not even copy/build it on travis.

@orbeckst
Copy link
Member Author

On travis we download the software every single time from the original download location. Because this is not-for-profit and academic use as described in the license agreement I believe this falls under permitted use.

But yes, it's an awful license.

However, in the ion channel field, HOLE is the de-facto standard for measuring cavities so everybody wants to use it. (There are some alternative packages but I can't find any obvious links at the moment.)

orbeckst added a commit that referenced this issue Jul 20, 2016
orbeckst added a commit that referenced this issue Jul 20, 2016
- conda packages for clustalw2 from https://biobuilds.org/
  https://anaconda.org/biobuilds/clustalw
- enables more tests for analysis.align to pass
- see issue #898 for discussion
@orbeckst
Copy link
Member Author

orbeckst commented Jul 20, 2016

PR #901 is pretty much complete for HOLE and clustalw. I am lacking the expertise (and currently the time) to do anything with x3dna. Furthermore, downloading x3dna requires user registration and "command-line tools such as wget and curl are blocked on purpose" and it is not open source as far as I can tell. I cannot even find a license on the site.

I don't have a big need for x3dna myself at the moment so I am just going to skip this and when the time comes, we can mark the x3dna module as legacy, as discussed in #743 and mandated for Tests of MDAnalysis.analysis.

@orbeckst
Copy link
Member Author

Closed by #901.

jdetle pushed a commit to jdetle/mdanalysis that referenced this issue Aug 14, 2016
jdetle pushed a commit to jdetle/mdanalysis that referenced this issue Aug 14, 2016
- conda packages for clustalw2 from https://biobuilds.org/
  https://anaconda.org/biobuilds/clustalw
- enables more tests for analysis.align to pass
- see issue MDAnalysis#898 for discussion
abiedermann pushed a commit to abiedermann/mdanalysis that referenced this issue Oct 26, 2016
 LKhrIcAEKjg6sgF0obtST+DwqdsaEiVyGZeD9CRS6dQtX7OobelAXBDDdC4r141P
 sHdXzRnD+Ge7bYeNQ2JWSq37hL82SYL5naSpWv9UIg+TP3x9yuVFns5z1rvc+O/i
 4mwrCqd7YdTeWAGKOPUI9cw92BJAd8GcGrDiRoXApOKJRhGL3Jo4wAWtHvZvkUtM
 PfLrYVOkR5reGLn0WrdJn4NuHXxsu7c4jWH161ciPxrqcTGuUhD3Nktpk8h9hrbT
 butoIXeTRcbbNlhNIYs3YCEb36MgDeOPgPIFxuNg+PeMFgP/dl6nHDVAi/pygrWC
 StpxtdQNrJW+ZR/syaWPnzxuHLBNM/RUd3Pr+fSUlkkAdDaNLdmJBF1BnAYhW5f5
 jlO/DhgkguRFSPW8zjbjwKy/6iU1Epg+THxvRxcpKT48DrRfBdRWs1pIzgIivYK1
 suFLKlc2HYcY8oajMLY/KwU3+8CiF3wbu5PbGTPa5sS5UdxS7gB/2wAyb4hEsngm
 wuTcSyXB1KdAxoIZAqH3dwbe9ojjPfJzw99iHR0CoRkXbQu70X+zOYG8RCcR/lP/
 M409XM+sChT+PRIZSIblV3bXYRlTkb7KTlpl9EOIHOBZmAfnY0wJP7fBDrvme+Sw
 jGktkfrxqiysEPTF+8uI
 =yh5C
 -----END PGP SIGNATURE-----

install HOLE for full tests (see MDAnalysis#898)
abiedermann pushed a commit to abiedermann/mdanalysis that referenced this issue Oct 26, 2016
 IlKopyuQAoKaa8DHg+OuTVV8RAi1sUpnYtFcKb3W2LObgZYvZwSu4hPHDBcOTRYU
 J0f64FVYPN2d2UOGoKHg2G8XN9TcCKtbWRvXnpmTrkG3lHFgYwX/bdDsvfPbn8SP
 Dr1lPmkhtslzVa4xN6z9pd2kgjrUDIjv6OVG5Uul95AWEvUbd9vKZvpL2L9xzar+
 qYiup1itNNxc/nYpsc2GJiC/ZMnlRP6cQKIN3vBoapOyagm9sdEVTaR2+apXvhQZ
 9UQCJOxNZq6neLqyaPiMdbspGS3BaVBojc8PUik0G5Gx0817hcx8NkvvX/DevGkM
 Na6dEh4m7pvDb965WdCLkYxX/6zur8hBAsrsIIOAT/lzh91Ej0Rv+0rT5e1v+mL3
 qX+Bclk7RBxkXuHAna7rjII7e1VF++iaNkKRersrutsJ5607EI6HwjR7X2twB7Lv
 h5LUj8DTqY/5OD8MU4B0M4EUpx0SA39Z4q//1yJfhZGXuGdI84BVgHFRnGYSLnHw
 +zIxWfXARtY1zKnkw1Ybc6N+eyAvwMQGm78j4THs5+govSq4Rs/41RljLtIfrIgs
 J5V52pc9VyhDXyGl9MbgAlnhfAurwjUybUzfva/T/YLLdy6wxqTips63FahyTciP
 DmWRxTkDVlUJBy1zak1+
 =tOvU
 -----END PGP SIGNATURE-----

added clustalw2 to full build environment

- conda packages for clustalw2 from https://biobuilds.org/
  https://anaconda.org/biobuilds/clustalw
- enables more tests for analysis.align to pass
- see issue MDAnalysis#898 for discussion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants