[NeXus-code-tickets] [NeXusCode] #156: python: support '|S1' for string data

NeXus Data Format Library and Applications noreply at nexusformat.org
Tue Jan 27 09:42:45 GMT 2009


#156: python: support '|S1' for string data
-----------------------+----------------------------------------------------
  Reporter:  Cpascual  |       Owner:  Paul Kienzle     
      Type:  defect    |      Status:  new              
  Priority:  minor     |   Milestone:  NeXus 4.2 Release
 Component:  bindings  |     Version:  4.2rc2           
Resolution:            |    Keywords:  numpy dtype char 
-----------------------+----------------------------------------------------
Comment (by Cpascual):

 On a deeper test, I see that my patch is not sufficient... some other
 functions such as {{{_pinput}}} do comparisons looking for "char" but then
 {{{_is_string_like()}}} evaluates to False when using numpy arrays of
 characters...

 Still it would be nice if we could somehow get rid of the inconsistent
 handling of "char" VS the other datatypes that are numpy.

-- 
Ticket URL: <http://trac.nexusformat.org/code/ticket/156#comment:2>
NeXus Data Format Library and Applications <http://www.nexusformat.org/>
NeXus Data Format Library and Applications



More information about the NeXus-code-tickets mailing list