Hi Madhu,
%run postproc.py cylinder.vtk"
should work, unless your mayavi is not 4.4, see [1].
Didn't you run postproc.py with the --colormap option? This option was added in 2015.3, so if you have an older sfepy version, you cannot use it.
r.
[1] https://github.com/sfepy/sfepy/issues/292
On 11/21/2015 05:48 PM, Madhu Mahadevappa wrote:
Dear Robert, Now I'm getting an error while post processing. When I run "%run postproc.py cylinder.vtk" ,I'm getting following error. Kindly help me.
TypeError Traceback (most recent call last) C:\Users\Madhu N.M\Downloads\sfepy-master\sfepy-master\postproc.py in <module>() 501 502 if __name__ == '__main__': --> 503 main()
C:\Users\Madhu N.M\Downloads\sfepy-master\sfepy-master\postproc.py in main() 491 filenames = filenames[0] 492 --> 493 view = view_file(filenames, filter_names, options) 494 if can_save: 495 view.save_image(options.filename)
C:\Users\Madhu N.M\Downloads\sfepy-master\sfepy-master\postproc.py in view_file(filename, filter_names, options, view) 267 step=options.step, time=options.time, 268 anti_aliasing=options.anti_aliasing, --> 269 domain_specific=options.domain_specific) 270 271 else:
TypeError: call_mlab() got an unexpected keyword argument 'colormap'
Regards, Madhu