Skip to content

Commit

Permalink
Merge pull request #206 from stewartboogert/writerPrependMultiUnion
Browse files Browse the repository at this point in the history
gdml: Writer prepend for scaled
  • Loading branch information
stewartboogert authored Oct 31, 2024
2 parents 278b182 + 6f7ad93 commit 5208d11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyg4ometry/gdml/Writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1361,7 +1361,7 @@ def writeScaled(self, instance):
oe.setAttribute("name", self.prepend + instance.name)

srf = self.doc.createElement("solidref")
srf.setAttribute("ref", instance.solid.name)
srf.setAttribute("ref", self.prepend + instance.solid.name)
oe.appendChild(srf)

scl = self.doc.createElement("scale")
Expand Down

0 comments on commit 5208d11

Please sign in to comment.