mirror of
https://github.com/pim-n/pg-rad
synced 2026-02-02 14:33:09 +01:00
update Source representation
This commit is contained in:
@ -62,4 +62,4 @@ class Source(Object):
|
||||
self.color = color
|
||||
|
||||
def __repr__(self):
|
||||
return f"Source(name={self.name}, A={self.activity} MBq, pos={(self.x, self.y, self.z)})"
|
||||
return f"Source(name={self.name}, pos={(self.x, self.y, self.z)}, isotope={self.isotope.name}, A={self.activity} MBq)"
|
||||
Reference in New Issue
Block a user