made changes more condensed and hopefully removed the new line
@@ -452,7 +452,7 @@ class Sim(cvb.BaseSim):
self.init_interventions() # And interventions
if verbose is None:
verbose = self['verbose']
- if ~sc.isnumber(until) and until!=None:
+ if until:
until = self.day(until)
# Main simulation loop
