Giter Club home page Giter Club logo

Comments (5)

orbeckst avatar orbeckst commented on August 11, 2024

See also #63.

from mdpow.

ianmkenney avatar ianmkenney commented on August 11, 2024

I fixed it for travis, but this will still be a problem for local tests until the PyPi package is built; I'll work on that now.

from mdpow.

orbeckst avatar orbeckst commented on August 11, 2024

Was this fixed with PR #67 ?

from mdpow.

orbeckst avatar orbeckst commented on August 11, 2024

If I

pip install pybol

then I can run the tests

py.test -v mdpow

and it fails with

DEBUG:gromacs.core:gmx mdrun -c em.pdb -deffnm em -stepout 10 -v
__________________________________________________________ TestFEPScript.test_basic_run __________________________________________________________

self = <test_fep_script.TestFEPScript object at 0x10548c410>

    def test_basic_run(self):
        with in_dir(self.tmpdir.name, create=False):
            try:
                self._run_fep('water', 'benzene/')
            except Exception as err:
>               raise AssertionError('FEP simulations failed with exception:\n{0}'.format(str(err)))
E               AssertionError: FEP simulations failed with exception:
E               [Errno 1] Gromacs tool failed
E               Command invocation: gmx grompp -c /private/var/folders/qs/k07z49fh8xl6xd008k8wxhxr0000gp/T/tmpb9sqMl/benzene/Equilibrium/water/MD_NPT/md.gro -f md.mdp -pp processed.top -o md.tpr -n /private/var/folders/qs/k07z49fh8xl6xd008k8wxhxr0000gp/T/tmpb9sqMl/benzene/Equilibrium/water/solvation/main.ndx -p /private/var/folders/qs/k07z49fh8xl6xd008k8wxhxr0000gp/T/tmpb9sqMl/benzene/Equilibrium/water/top/pp_system.top -maxwarn 1

mdpow/tests/test_fep_script.py:38: AssertionError

Adding pybol to test_requires in setup.py does not automatically download it but I think that's ok.

from mdpow.

orbeckst avatar orbeckst commented on August 11, 2024

I fixed this in 321527f by using https://pypi.python.org/pypi/pytest-runner.

One can now do

python setup.py test

to run the tests with py.test.

from mdpow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.