Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
4a2bf0d8
Commit
4a2bf0d8
authored
5 years ago
by
Marko Petric
Committed by
Andre Sailer
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
logging format
parent
570df784
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/OpticalSurfaces/scripts/OpNovice_GDML.py
+3
-1
3 additions, 1 deletion
examples/OpticalSurfaces/scripts/OpNovice_GDML.py
with
3 additions
and
1 deletion
examples/OpticalSurfaces/scripts/OpNovice_GDML.py
+
3
−
1
View file @
4a2bf0d8
...
@@ -14,7 +14,9 @@ def run():
...
@@ -14,7 +14,9 @@ def run():
install_dir
=
os
.
environ
[
'
DD4hepExamplesINSTALL
'
]
install_dir
=
os
.
environ
[
'
DD4hepExamplesINSTALL
'
]
kernel
.
loadGeometry
(
"
file:
"
+
install_dir
+
"
/examples/OpticalSurfaces/compact/OpNovice.xml
"
)
kernel
.
loadGeometry
(
"
file:
"
+
install_dir
+
"
/examples/OpticalSurfaces/compact/OpNovice.xml
"
)
logging
.
basicConfig
(
format
=
'
%(levelname)s: %(message)s
'
,
level
=
logging
.
DEBUG
)
logging
.
basicConfig
(
format
=
'
%(levelname)s: %(message)s
'
)
logger
=
logging
.
getLogger
(
__name__
)
logger
.
setLevel
(
logging
.
INFO
)
if
__name__
==
"
__main__
"
:
if
__name__
==
"
__main__
"
:
run
()
run
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment