old_contents: # -*- coding: utf-8 -*-
  """Wrapper to run Radia from the command line.
  
  :copyright: Copyright (c) 2017 RadiaSoft LLC.  All Rights Reserved.
  :license: http://www.apache.org/licenses/LICENSE-2.0.html
  """
  from pykern import pkio
  from pykern.pkcollections import PKDict
  from pykern.pkdebug import pkdp, pkdc
  from sirepo import simulation_db
  from sirepo.template import template_common
  
  
  def run(cfg_dir):
      import sirepo.template.radia as template
      template_common.exec_parameters()
      data = simulation_db.read_json(template_common.INPUT_BASE_NAME)
      template.extract_report_data(pkio.py_path.local(cfg_dir), data)
  
new_contents: # -*- coding: utf-8 -*-
  """Wrapper to run Radia from the command line.
  
  :copyright: Copyright (c) 2017 RadiaSoft LLC.  All Rights Reserved.
  :license: http://www.apache.org/licenses/LICENSE-2.0.html
  """
  from pykern import pkio
  from pykern.pkcollections import PKDict
  from pykern.pkdebug import pkdp, pkdc
  from sirepo import simulation_db
  from sirepo.template import template_common
  
  
  def run(cfg_dir):
      import sirepo.template.radia as template
      template_common.exec_parameters()
      data = simulation_db.read_json(template_common.INPUT_BASE_NAME)
      template.extract_report_data(pkio.py_path(cfg_dir), data)
  
subject: Fix #4077 - pkio.py_path.local to pkio.py_path