Installation
Option 1: Via Pip (Recommended)¶
If you already have a working Python environment and want to use InterMap alongside your other tools, simply install it via pip:
Option 2: Via Conda (For Developers & Isolated Environments)¶
If you experience dependency conflicts, or if you plan to contribute to the code and run tests, we recommend creating an isolated environment using our provided configuration:
# Clone the repository
git clone https://github.com/Delta-Research-Team/intermap.git
cd intermap
# Create and activate the environment
conda env create -f environment.yml
conda activate intermap
# Install the package in editable mode
pip install -e .
Note: You will need to run conda activate intermap each time you open a new terminal to use the software.
Running Tests¶
If you installed the package from source using Option 2, you can run the test suite from the root dir of the project.
Disable Numba's JIT compiler
You must use the below command to explicitly disable Numba's JIT compiler when running the tests. Otherwise, tests may fail or stall due to compilation overhead.
Update the absolute paths in the configuration file
Before running the tests, make sure to update the paths to the topology and trajectory files in the .cfg configuration file within the examples directory.
Updating¶
To ensure you always have the latest version of InterMap:
If installed via Pip:¶
If installed via Conda (Source):¶
Navigate to the cloned repository directory and run: