GeoscienceAustralia / eqrm

Automatically exported from code.google.com/p/eqrm
Other
5 stars 4 forks source link

ValueError: setting an array element with a sequence #92

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.run revision 1267 
2.in parallel
3.with numpy 1.5.1 and scipy 0.8.0

What is the expected output? What do you see instead?
time_pre_site_loop_fraction 0.00559294877111
event_loop_time (excluding file saving) 0:50:14.510000 hr:min:sec

Traceback (most recent call last):
  File "EQRM_controlfile.py", line 75, in <module>
    main(locals())
  File "/model_area/earthquake_hazard/eqrm_core.new/eqrm_code/analysis.py", line 741, in main
    compress=eqrm_flags.compress_output)
  File "/model_area/earthquake_hazard/eqrm_core.new/eqrm_code/output_manager.py", line 1389, in join_parallel_files
    input_file_lines = asarray(input_file_lines)
  File "/usr/lib/pymodules/python2.7/numpy/core/numeric.py", line 284, in asarray
    return array(a, dtype, copy=False, order=order)
ValueError: setting an array element with a sequence

Original issue reported on code.google.com by Vanessa....@gmail.com on 21 Sep 2012 at 7:26

GoogleCodeExporter commented 9 years ago
This error does not occur with Numpy 1.6.1
The line of code that was causing this error has been removed so EQRM is fixed 
for numpy1.5.1 in revision 1268. 

Original comment by Vanessa....@gmail.com on 21 Sep 2012 at 7:26