This is a first version of my ampullary model tool for internal testing and discussion.
It is not packaged, but can be run locally using a Python virtual environment.
- Python 3.10 (tested with 3.10.12)
- Git
- Terminal access
Clone or download the entire project folder from the internal GitHub repository.
The folder structure should look like this:
ampullary_ui/
├─ code/
├─ examples/
├─ source/
├─ stimuli/
├─ requirements.txt
└─ README.md
cd ampullary_toolpython3 -m venv venvLinux / macOS:
source venv/bin/activateWindows (PowerShell):
venv\Scripts\Activate.ps1python -m pip install -r requirements.txtThis installs all required packages inside the virtual environment.
pip install .
# or
make installpip install -e .
# or
make install-devThis should also build the qt resources file. If this needs to be done manually,
python build_resources.py --rcc
# or
make build-resourcesWe further need to compile the qt ui files that describe the user interface to respective UI classes.
python build_resources.py --ui
# or
make build-uiWhen installed, run the UI by calling from the command line
ampullary-guiIf everything works correctly, the application should open.