style cleanup: pep8

This commit is contained in:
2012-10-08 08:28:05 +00:00
parent f299813bfa
commit 9fa36b12cc
38 changed files with 123 additions and 127 deletions

View File

@@ -250,7 +250,7 @@ def xml2rna(root_xml,
if value_xml.startswith("#"):
# read hexidecimal value as float array
value_xml_split = value_xml[1:]
value_xml_coerce = [int(value_xml_split[i:i + 2], 16) / 255 for i in range(0, len(value_xml_split), 2)]
value_xml_coerce = [int(value_xml_split[i:i + 2], 16) / 255 for i in range(0, len(value_xml_split), 2)]
del value_xml_split
else:
value_xml_split = value_xml.split()