@@ -191,6 +191,7 @@ def data_tag(dataarray, encoding, datatype, ordering):
191191 class DataTag (xml .XmlSerializable ):
192192 def __init__ (self , * args ):
193193 self .args = args
194+
194195 def _to_xml_element (self ):
195196 return _data_tag_element (* self .args )
196197
@@ -518,7 +519,6 @@ def print_summary(self):
518519 print (da .print_summary ())
519520 print ('----end----' )
520521
521-
522522 def _to_xml_element (self ):
523523 GIFTI = xml .Element ('GIFTI' , attrib = {
524524 'Version' : self .version ,
@@ -550,7 +550,8 @@ def from_file_map(klass, file_map):
550550 Returns a GiftiImage
551551 """
552552 from .parse_gifti_fast import parse_gifti_file
553- return parse_gifti_file (fptr = file_map ['image' ].get_prepare_fileobj ('rb' ))
553+ return parse_gifti_file (
554+ fptr = file_map ['image' ].get_prepare_fileobj ('rb' ))
554555
555556 def to_file_map (self , file_map = None ):
556557 """ Save the current image to the specified file_map
@@ -565,8 +566,8 @@ def to_file_map(self, file_map=None):
565566
566567 Notes
567568 -----
568- We write all files with utf-8 encoding, and specify this at the top of the
569- XML file with the ``encoding`` attribute.
569+ We write all files with utf-8 encoding, and specify this at the top of
570+ the XML file with the ``encoding`` attribute.
570571
571572 The Gifti spec suggests using the following suffixes to your
572573 filename when saving each specific type of data:
0 commit comments