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
c63f9001
Commit
c63f9001
authored
10 months ago
by
Andre Sailer
Browse files
Options
Downloads
Patches
Plain Diff
DDG4: eval all properties to avoid cppyy.gbl.string with bytes
parent
32ae1de9
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
DDG4/python/DDG4.py
+3
-3
3 additions, 3 deletions
DDG4/python/DDG4.py
with
3 additions
and
3 deletions
DDG4/python/DDG4.py
+
3
−
3
View file @
c63f9001
...
@@ -304,11 +304,11 @@ def _get(self, name):
...
@@ -304,11 +304,11 @@ def _get(self, name):
a
=
Interface
.
toAction
(
self
)
a
=
Interface
.
toAction
(
self
)
ret
=
Interface
.
getProperty
(
a
,
name
)
ret
=
Interface
.
getProperty
(
a
,
name
)
if
ret
.
status
>
0
:
if
ret
.
status
>
0
:
return
ret
.
data
return
_evalProperty
(
ret
.
data
)
elif
hasattr
(
self
.
action
,
name
):
elif
hasattr
(
self
.
action
,
name
):
return
getattr
(
self
.
action
,
name
)
return
_evalProperty
(
getattr
(
self
.
action
,
name
)
)
elif
hasattr
(
a
,
name
):
elif
hasattr
(
a
,
name
):
return
getattr
(
a
,
name
)
return
_evalProperty
(
getattr
(
a
,
name
)
)
msg
=
'
Geant4Action::GetProperty [Unhandled]: Cannot access property
'
+
a
.
name
()
+
'
.
'
+
name
msg
=
'
Geant4Action::GetProperty [Unhandled]: Cannot access property
'
+
a
.
name
()
+
'
.
'
+
name
raise
KeyError
(
msg
)
raise
KeyError
(
msg
)
...
...
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