Skip to content

Running the GUI on a new branch

Bzzzt90 edited this page Jun 22, 2021 · 6 revisions

As the GUI references the package NOT the actual code on your machine by default you need to tell it otherwise, if you want to test a new function. The error message for this issue might be related something completely different as quocs might just see compatibility issues with the main branch.

To deal with this issue I have set up a bash script:

#!/bin/bash
# first activate the proper environment(s)
conda activate quocs
# source quocs-venv/bin/activate
cd QuOCS-thesuite
python -m pip uninstall -y quocs-thesuite
python -m pip install -e .
cd ../QuOCS
python -m pip uninstall -y quocs-lib
python -m pip install -e .
cd ../QuOCS-pyside2interface/
python -m pip uninstall -y quocs-pyside2interface
python -m pip install -e .
cd ../QuOCS-tools/
python -m pip uninstall -y quocs-tools
python -m pip install -e .
python -m pip list

It hast to be run in the folder containing all the directories (QuOCS, QuOCS-pyside2interface, QuOCS-thesuite, QuOCS-tools).

As a result the directories to the packages should be listed behind the 4 quocs repositories.

Clone this wiki locally