Reduced complexity
This commit is contained in:
parent
e07f45bd2d
commit
7894e9b45e
|
|
@ -217,11 +217,7 @@ class PositionOptions(VariantOptions):
|
||||||
output_dir = os.path.dirname(fname)
|
output_dir = os.path.dirname(fname)
|
||||||
columns = self.columns.values()
|
columns = self.columns.values()
|
||||||
# Note: the parser already checked the units are milimeters or inches
|
# Note: the parser already checked the units are milimeters or inches
|
||||||
conv = 1.0
|
conv = 1.0/IU_PER_MM if self.units == 'millimeters' else 0.001/IU_PER_MILS
|
||||||
if self.units == 'millimeters':
|
|
||||||
conv = 1.0 / IU_PER_MM
|
|
||||||
else: # self.units == 'inches':
|
|
||||||
conv = 0.001 / IU_PER_MILS
|
|
||||||
# Format all strings
|
# Format all strings
|
||||||
comps_hash = self.get_refs_hash()
|
comps_hash = self.get_refs_hash()
|
||||||
modules = []
|
modules = []
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue