Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.43 KB

CONTRIBUTING.md

File metadata and controls

45 lines (28 loc) · 1.43 KB

Contributors

Special thanks for all the people who have helped this project so far:

I would like to join this list. How can I help the project?

We always welcome contributions to improve the project. Please have a look at the current github issues for information on where help could be needed.

Getting set up:

The development environment for pymol-remote is detailed in the environment.yml file.

For simplicity, you can set up the development environment using the contribute.sh script:

# NOTE: If you wish to use a different package manager than conda/etc. you can manually install the dependencies and set the .env file
./contribute.sh

You can then set the environment variables such as your localhosts's IP address in the .env file. Do not commit this file to github.

Running the tests

To run the tests, you can use

# Run all tests
pytest tests/

# Run only the tests that do not require a running server
pytest tests/ -m "not requires_server"

# Run only the tests that do not require biotite on the client side
pytest tests/ -m "not client_requires_biotite"

Test Categories

The test suite uses pytest markers to organize tests:

  • requires_server: Tests that need a running PyMOL server
  • client_requires_biotite: Tests that need biotite installed on the client side