ATLAS Offline Software
python
showReleaseNotes
Functions
python.showReleaseNotes Namespace Reference
Functions
def
main
()
Function Documentation
◆
main()
def python.showReleaseNotes.main
(
)
Definition at line
10
of file
showReleaseNotes.py
.
10
def
main
():
11
import
os
12
#we don't use the 'from PathResolver import PathResolver' because that will force Gaudi ApplicationMgr to display
13
#Until we have a way to 'silently' start the applicationmgr, we will do it the 'bad' way
14
import
cppyy
15
cppyy.loadDict(
'libPathResolver'
)
16
cppyy.loadDict(
'libPathResolverDict'
)
17
FindCalibFile = cppyy.gbl.PathResolverFindCalibFile
18
cppyy.gbl.PathResolverSetOutputLevel(6)
#suppress all possible warnings/errors
19
20
notesFile =
FindCalibFile
(
"dev/ReleaseNotes/%s/%s"
% (os.environ[
'AtlasProject'
],os.environ[
'AtlasVersion'
]))
21
if
notesFile==
""
:
return
0
#no notes to display
22
23
with
open
(notesFile)
as
f:
24
print
(f.read())
25
26
27
28
python.PathResolver.FindCalibFile
FindCalibFile
Definition:
PathResolver.py:11
Trk::open
@ open
Definition:
BinningType.h:40
python.showReleaseNotes.main
def main()
Definition:
showReleaseNotes.py:10
dbg::print
void print(std::FILE *stream, std::format_string< Args... > fmt, Args &&... args)
Definition:
SGImplSvc.cxx:70
Generated on Thu Nov 7 2024 22:24:02 for ATLAS Offline Software by
1.8.18