Menu

#3 MapSystem.set() produce error for "globalt0" key

closed-fixed
nobody
None
5
2007-09-05
2007-09-05
No

If using set('globalt0'=t0) for a MapSystem Generator object.
The MapSystem class is based on the discGen Class and in the MapSystem.py module the discGen class of baseclasses is imported.
But in the set method of the MapSystem class the undefined ctsGen.set() methode is used to set "globalt0" and "checklevel" values.
This raises an error of undefined global name 'ctsGen'.

I suppose that this should pass to the discGen.set() method even if finally these are the same methods coming from the Generator class in baseclasses.py module as non of ctsGen or distGen overwrites the set method.

Discussion

  • Rob Clewley

    Rob Clewley - 2007-09-05

    Logged In: YES
    user_id=1292466
    Originator: NO

    Fixed in SVN, will be updated in next release. Thanks!

     
  • Rob Clewley

    Rob Clewley - 2007-09-05
    • status: open --> closed-fixed