def continueRun(dataName=None, allocModelName=None, obsModelName=None, 
        algName=None,
        doSaveToDisk=True, doWriteStdOut=True, **kwargs):
  hasReqArgs = dataName is not None
  hasReqArgs &= allocModelName is not None
  hasReqArgs &= obsModelName is not None
  hasReqArgs &= algName is not None
  
  if hasReqArgs:
    ReqArgs = dict(dataName=dataName, allocModelName=allocModelName, \
                    obsModelName=obsModelName, algName=algName)
  else:
    ReqArgs = BNPYArgParser.parseRequiredArgs()
    dataName = ReqArgs['dataName']
    allocModelName = ReqArgs['allocModelName']
    obsModelName = ReqArgs['obsModelName']
    algName = ReqArgs['algName']

  parser = argparse.ArgumentParser()
  parser.add_argument('--jobname', default='defaultjob')
  parser.add_argument('--taskid', default=1, type=int)
  parser.add_argument('--startLap', default=1.0, type=float)
  parser.add_argument('--nLap', default=10, type=int)

  argDict, ignored = BNPYArgParser.applyParserToKwArgDict(parser, **kwargs)
  hmodel, LP, Info = _continue_task_internal(
                      argDict['jobname'], argDict['taskid'],
                      argDict['startLap'], argDict['nLap'],
                      dataName, allocModelName, obsModelName, algName,
                      ReqArgs, doSaveToDisk, doWriteStdOut)
  return hmodel, LP, Info

########################################################### RUN SINGLE TASK 
###########################################################
Fit specified model to data with learning algorithm.
dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/bnpy/ContinueRun.py/continueRun