Hi all,

I downloaded the example script of light cone projectoin(http://yt-project.org/doc/cookbook/cosmological_analysis.html#light-cone-projection) to my laptop and changed the Enzo simulation parameter file and redshifts. But when I ran it the following error occurred:

  File "light_cone_projection.py", line 19, in <module>
    find_outputs=False)
  File "/Users/madcpf/Documents/dev_yt/src/yt-hg/yt/analysis_modules/cosmological_observation/light_cone/light_cone.py", line 158, in __init__
    find_outputs=find_outputs)
  File "/Users/madcpf/Documents/dev_yt/src/yt-hg/yt/analysis_modules/cosmological_observation/cosmology_splice.py", line 44, in __init__
    find_outputs=find_outputs)
  File "/Users/madcpf/Documents/dev_yt/src/yt-hg/yt/convenience.py", line 131, in simulation
    find_outputs=find_outputs)
  File "/Users/madcpf/Documents/dev_yt/src/yt-hg/yt/frontends/enzo/simulation_handling.py", line 81, in __init__
    find_outputs=find_outputs)
  File "/Users/madcpf/Documents/dev_yt/src/yt-hg/yt/data_objects/time_series.py", line 343, in __init__
    self._parse_parameter_file()
  File "/Users/madcpf/Documents/dev_yt/src/yt-hg/yt/frontends/enzo/simulation_handling.py", line 273, in _parse_parameter_file
    param, vals = (i.strip() for i in line.split("="))
ValueError: need more than 1 value to unpack

Does the parameters "near_redshift" and "far_redshift" in LightCone need to be the same with "CosmologyFinalRedshift" and "CosmologyInitialRedshift" in enzo parameter file?
Does anyone know how to solve this?

Thank you all!

Pengfei