@@ -86,7 +86,7 @@ def __init__(
8686 ):
8787 # 1: are any of these actually attributes of whatever type source will end up being
8888 # 2: so would source already be decompressed? Does any of this work? readonlyttree?
89- # Use "readonlykey" to get
89+ # Use "readonlykey" to get
9090 self .source = source
9191 self ._directory = directory # good
9292 self ._name = name
@@ -119,7 +119,7 @@ def __init__(
119119 "fAutoSave" : source .members ["fAutoSave" ],
120120 "fAutoFlush" : source .members ["fAutoFlush" ],
121121 "fEstimate" : source .members ["fEstimate" ],
122-
122+
123123 }
124124
125125 self ._key = None
@@ -138,7 +138,7 @@ def __init__(
138138 for branch in source .branches :
139139 self ._branch_data .append ({key : data for key , data in branch .all_members .items ()})
140140 self ._branch_data [- 1 ].update (
141- {
141+ {
142142 "arrays_write_start" : 0 ,
143143 "arrays_write_stop" : 0 ,
144144 "metadata_start" : None ,
@@ -317,23 +317,23 @@ def write_copy(self, sink):
317317 special_struct = uproot .models .TLeaf ._tleafs1_format1
318318 elif encoded_classname == "Model_TLeafI_v1" :
319319 letter_upper = "I"
320- special_struct = uproot .models .TLeaf ._tleafi1_format1
320+ special_struct = uproot .models .TLeaf ._tleafi1_format1
321321 elif encoded_classname == "Model_TLeafL_v1" :
322322 letter_upper = "L"
323- special_struct = uproot .models .TLeaf ._tleafl1_format0
323+ special_struct = uproot .models .TLeaf ._tleafl1_format0
324324 elif encoded_classname == "Model_TLeafF_v1" :
325325 letter_upper = "F"
326- special_struct = uproot .models .TLeaf ._tleaff1_format1
326+ special_struct = uproot .models .TLeaf ._tleaff1_format1
327327 elif encoded_classname == "Model_TLeafD_v1" :
328328 letter_upper = "D"
329- special_struct = uproot .models .TLeaf ._tleafd1_format1
329+ special_struct = uproot .models .TLeaf ._tleafd1_format1
330330 elif encoded_classname == "Model_TLeafC_v1" :
331331 letter_upper = "C"
332- special_struct = uproot .models .TLeaf ._tleafc1_format1
332+ special_struct = uproot .models .TLeaf ._tleafc1_format1
333333 else :
334334 letter_upper = "O"
335335 special_struct = uproot .models .TLeaf ._tleafO1_format1
336-
336+
337337 out .append (("TLeaf" + letter_upper ).encode () + b"\x00 " )
338338
339339 # if self._branch_data[branch_indx]["shape"] == ():
@@ -447,7 +447,7 @@ def write_copy(self, sink):
447447 datum ["counter" ]["tleaf_reference_number" ]
448448 )
449449 )
450-
450+
451451 # # specialized TLeaf* members (fMinimum, fMaximum)
452452 out .append (special_struct .pack (0 , 0 ))
453453 datum ["tleaf_special_struct" ] = special_struct
@@ -532,7 +532,7 @@ def write_copy(self, sink):
532532 sum (len (x ) for x in out [ttree_header_index + 1 :]), 20 # TTre[e
533533 )
534534 self ._metadata_start = sum (len (x ) for x in out [:metadata_out_index ])
535-
535+
536536 raw_data = b"" .join (out )
537537 self ._key = self ._directory .add_object (
538538 sink ,
0 commit comments