Fixing the activity tests @eepeterson

Co-authored-by: Ethan Peterson <ethan.peterson@mit.edu>
This commit is contained in:
Jonathan Shimwell 2022-08-08 20:46:57 +01:00 committed by GitHub
parent 3271c08d22
commit 5d5bc53a15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -928,9 +928,9 @@ class Material(IDManagerMixin):
if units == 'Bq':
multiplier = self.volume
elif units == 'Bq/g':
multiplier = 1
elif units == 'Bq/cm3':
multiplier = 1
elif units == 'Bq/g':
multiplier = 1.0 / self.get_mass_density()
activity = {}