[Numpy-discussion] format typestr for "String" ( 10 strings: '10a80' ) gives just 'None'

Sebastian Haase haase at msg.ucsf.edu
Thu Aug 10 18:43:09 CDT 2006


Hi,
trying to convert my memmap - records - numarray  code for reading a image 
file format (Mrc).
There are 10 fields of strings (each 80 chars long) in the header:
in numarray I used the format string '10a80'
This results in a single <None> value in numpy.
Same after changing it to '10S80'.

Am I doing something wrong !?

Thanks,
Sebastian Haase




More information about the Numpy-discussion mailing list