-
Notifications
You must be signed in to change notification settings - Fork 10
Lab Installation
Hlab edited this page Nov 14, 2012
·
30 revisions
Each experiment uses two git repositories: Haeffner-Lab-LabRAD-Tools for common servers and clients and one containing code that is only useful for that experiment. To achieve this, we use the following directory structure
LabRAD\
__init__.py
\common\...
\experiment_name\...
where common is the cloned Haeffner-Lab-LabRAD-Tools repository and experiment_name is the experiment-specific repository. Having __init__.py
there indicates that this is a package. This allows for easy import of files from either directory using:
import common.folder.file
To achieve this, add the LabRAD directory to PYTHONPATH