Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 1007 Bytes

README.md

File metadata and controls

46 lines (28 loc) · 1007 Bytes

Usage on Baskerville

Login to Baskerville:

login-screen

Launch notebook:

Juypterlab-screen

ln -s /bask/projects/v/vjgo8416-geo-com-dem ~/geo-com-dem
cd ~/geo-com-dem
git clone https://github.com/bear-rsg/landuse-rl.git
cd brainstorming
bask_run.sh

Local installation

Create a virtual environment, either with venv or conda, with Python 3.10.* (ex. conda create -n NAME python=3.10) and activate it.

Install the requirements with pip install -r requirements.txt.

Unit tests

To run the unit tests:

python -m unittest -v

Code coverage

To measure code coverage install the package with pip install coverage and then

coverage run -m unittest discover
coverage report -m

For a nicer presentation, use coverage html and open htmlcov/index.html in your browser.

To erase previously collected coverage data run coverage erase.