cms-gem-detqc-project / CMS_GEM_Analysis_Framework

Analysis framework for the CMS GEM collaboration
GNU General Public License v3.0
0 stars 4 forks source link

Feature Request: Add python scripts to the $PATH #12

Open bdorney opened 7 years ago

bdorney commented 7 years ago

Brief summary of issue

Right now executable python scripts are not in $PATH and as a consequence they have to be executed by physical path, e.g.:

% python2.7 python/computeGainMap.py <args>

Instead of location indep way, e.g.:

% computeGainMap.py <args>

Types of issue

Expected Behavior

Want to be able to use executables in an independent way.

Current Behavior

Have to reference executables by physical path.

Possible Implementation

Adding to scripts/setup_CMS_GEM.sh after L15 the following line:

export PATH=$PATH:$FRAMEWORK_BASE/python