File tree 2 files changed +4
-17
lines changed
2 files changed +4
-17
lines changed Original file line number Diff line number Diff line change @@ -5,4 +5,5 @@ __pycache__
5
5
* .egg-info
6
6
/build
7
7
/bin
8
- /dist
8
+ /dist
9
+ /simprod /__init__.py
Original file line number Diff line number Diff line change 2
2
3
3
import os , getpass
4
4
5
- modulepath = '/afs/cern.ch/user/m/mmarinan/SimulationProduction'
6
- os .environ ["SIMPRODPATH" ] = modulepath
7
-
8
- simoutput = '/eos/lhcb/user/m/mmarinan/SimulationJobs'
9
- if simoutput is None :
10
- simoutput = os .getenv ("HOME" )+ "/SimulationJobs"
11
- os .system ("mkdir -p " + simoutput )
12
- os .environ ["SIMOUTPUT" ] = simoutput
13
-
14
- log_simoutput = '/afs/cern.ch/work/m/mmarinan/SimulationJobs'
15
- if log_simoutput is None :
16
- user = getpass .getuser ()
17
- log_simoutput = "/afs/cern.ch/work/{0}/{1}" .format ( user [0 ], user )
18
- os .system ("mkdir -p " + log_simoutput )
19
- os .environ ["LOG_SIMOUTPUT" ] = log_simoutput
20
-
21
5
from simprod .simjob import *
22
6
from IPython import start_ipython
23
7
from traitlets .config .loader import Config
24
8
9
+ simoutput = os .environ ["SIMOUTPUT" ]
10
+
25
11
if __name__ == "__main__" :
26
12
27
13
banner1 = '\n \n '
You can’t perform that action at this time.
0 commit comments