Change the type of parameters for Etesian from Percentage to Double.

* Change: In CRL/etc/common/etesian.py, use double parameters
    instead of percentages to simplify. For space margin and form
    factor. This need the rewrite of coriolis2/settings.py in
    alliance-check-toolkit.
This commit is contained in:
Jean-Paul Chaput 2020-10-18 23:17:00 +02:00
parent 04098a4655
commit 6bc8751879
1 changed files with 3 additions and 5 deletions

View File

@ -16,12 +16,10 @@
import Cfg
param = Cfg.getParamPercentage( 'etesian.aspectRatio' )
param.setPercentage( 100 )
param.setMin ( 10 )
param.setMax ( 1000 )
param = Cfg.getParamDouble( 'etesian.aspectRatio' )
param.setDouble( 1.0 )
Cfg.getParamPercentage( 'etesian.spaceMargin' ).setPercentage( 5 )
Cfg.getParamDouble ( 'etesian.spaceMargin' ).setPercentage( 0.05 )
Cfg.getParamBool ( 'etesian.uniformDensity' ).setBool ( False )
Cfg.getParamBool ( 'etesian.routingDriven' ).setBool ( False )
Cfg.getParamString ( 'etesian.feedNames' ).setString ( 'tie_x0,rowend_x0' )