Skip to content

Guide to finding moose directory of ITk DB upload scripts

To get to the moose repository of ITk code for DB interactions, run the following:

cd /disk/moose/atlas/rrb/db_upload_scripts/

Activating BILPA Virtual Environment (bilpa_env)

You will likely want to be using the BILPA virtual environment bilpa_env, which includes an installation of Python 3.12. If you are running on one of the machines in the clean room, the default python version is 3.9, which is too old for most of our code, so the virtual environment will be a necessity.

To activate the BILPA virtual environment, run:

source bilpa_env/bin/activate

You should then see that your command line has a prefix indicating that you are using the virtual environment:

Activate Command

Deactivating BILPA Virtual Environment (bilpa_env)

To leave the BILPA virtual environment, run:

deactivate

This command can be run from any working directory. You should then see that the bilpa_env prefix on your command line has disappeared:

Deactivate Command

Returning to home directory

To get back to your home directory, run the following:

cd $HOME