diff --git a/scripts/Diffraction/isis_powder/routines/common.py b/scripts/Diffraction/isis_powder/routines/common.py index f9fbe8a9e9a76ed613fa679194c324b34375ad6b..c43177d155ae9a83fbcecaab20035cf180e95d98 100644 --- a/scripts/Diffraction/isis_powder/routines/common.py +++ b/scripts/Diffraction/isis_powder/routines/common.py @@ -610,5 +610,5 @@ def workspace_has_current(ws): """ Gat whether the total charge for this run was greater than 0 """ - charge = ws.run().getProtonCharge().value + charge = ws.run().getProtonCharge() return charge is not None and charge > 0