File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -217,17 +217,13 @@ def _module_path(self):
217217 def _python_configs (self ):
218218 python_dirs = [os .path .join ('${' + self ._env_var (x )+ '}' , 'python' )
219219 for x in self .package_dirs ]
220- third_party_pars = self .third_party_pars
221- if 'datacatdir' in third_party_pars :
222- python_dirs .append ('${DATACATDIR}' )
220+ for package_dir , path in self .third_party_pars .items ():
221+ if package_dir in ('modules_dir' , 'eo_utilities_dir' ):
222+ continue
223+ python_dirs .append (path )
223224 python_dirs .extend (['${HARNESSEDJOBSDIR}/python' , self ._module_path (),
224225 '${PYTHONPATH}' ])
225- python_configs = ''
226- if 'datacatdir' in third_party_pars :
227- python_configs += """export DATACATDIR=%s/lib
228- export DATACAT_CONFIG=%s
229- """ % (os .path .join (third_party_pars ['datacatdir' ]), third_party_pars ['datacat_config' ])
230- python_configs += "export PYTHONPATH=%s\n " % ":" .join (python_dirs )
226+ python_configs = "export PYTHONPATH=%s\n " % ":" .join (python_dirs )
231227 return python_configs
232228
233229 def jh (self ):
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ lcatr-schema = 0.7.0
55lcatr-modulefiles = 0.4.0
66
77[eups_packages]
8- eotest = 1.3.2
8+ eotest = 1.4.0
99obs_lsst = 1.1.0-rc
1010
1111[packages]
@@ -14,16 +14,16 @@ eTraveler-clientAPI = 1.7.1
1414metrology-data-analysis = 0.0.14
1515camera-model = 0.1.5
1616config_files = 0.0.12
17- jh-ccs-utils = 0.2.5
18- IandT-jobs = 0.4.2
17+ jh-ccs-utils = 0.2.6
18+ IandT-jobs = 0.4.3
1919jh-dev-tools = 0.2.0
20- EO-analysis-jobs = 1.5.11
20+ EO-analysis-jobs = 1.5.12
2121
2222[dmstack]
2323stack_dir = /gpfs/slac/lsst/fs3/g/software/stack/v21.0.0
2424
2525[third_party]
26- datacatdir = /lsst/dh/software/centos7-gcc48/dev /datacat/0.4
27- datacat_config = /lsst/dh/software/centos7-gcc48/dev /datacat/config.cfg
26+ datacat_dir = /gpfs/slac/ lsst/fs2/u1/ dh/software/centos7-gcc48/prod /datacat/lib/python3.7/site-packages
27+ datacat_utilities_dir = /gpfs/slac/ lsst/fs2/u1/ dh/software/centos7-gcc48/prod /datacat-utilities/python
2828modules_dir = /gpfs/slac/lsst/fs2/u1/dh/software/centos7-gcc48/prod/Modules
2929eo_utilities_dir = /gpfs/slac/lsst/fs2/u1/dh/software/centos7-gcc48/prod/EO-utilities
You can’t perform that action at this time.
0 commit comments