@@ -324,7 +324,7 @@ def to_xml(self):
324
324
325
325
# write data array depending on the encoding
326
326
result += data_tag (self .data , \
327
- gifti_encoding_codes .giistring [self .encoding ],\
327
+ gifti_encoding_codes .specs [self .encoding ],\
328
328
data_type_codes .fmt [self .datatype ],\
329
329
self .ind_ord )
330
330
@@ -349,7 +349,7 @@ def to_xml_open(self):
349
349
array_index_order_codes .label [self .ind_ord ], \
350
350
str (self .num_dim ), \
351
351
str (di ), \
352
- gifti_encoding_codes .giistring [self .encoding ], \
352
+ gifti_encoding_codes .specs [self .encoding ], \
353
353
gifti_endian_codes .giistring [self .endian ], \
354
354
self .ext_fname ,
355
355
self .ext_offset ,
@@ -365,7 +365,7 @@ def print_summary(self):
365
365
print 'ArrayIndexingOrder: ' , array_index_order_codes .label [self .ind_ord ]
366
366
print 'Dimensionality: ' , self .num_dim
367
367
print 'Dimensions: ' , self .dims
368
- print 'Encoding: ' , gifti_encoding_codes .giistring [self .encoding ]
368
+ print 'Encoding: ' , gifti_encoding_codes .specs [self .encoding ]
369
369
print 'Endian: ' , gifti_endian_codes .giistring [self .endian ]
370
370
print 'ExternalFileName: ' , self .ext_fname
371
371
print 'ExternalFileOffset: ' , self .ext_offset
0 commit comments