[pymvpa] important RF

Yaroslav Halchenko debian at onerussian.com
Sat Jul 12 03:33:13 UTC 2008


Hi All,

I went ahead for somewhat intrusive RF: please see
c2640bb71c5f7a3e9929c01d7adb6af2ee414a79
and few follow-up commits

Summary:
    RF: !BIG! cmdline refactoring. Added OptionGroups class
    
    You would need to use tools/refactor.sh to get options instances renamed
    automagically. Now options are all groupped to be in opt. and option groups are
    in opts. Advantages:
    
    * cleaner completion and API -- otherwise suite imported all opt* variables
    * opts. (instance of OptionGroups) uses lazy group construction which
      resolves many issues:
      - conflict resolution now can be 'error' ;-)
      - no absent error message if user requests cmdline argument which is
        not currently enabled but is present in some group which is not used.
    

-- 
Yaroslav Halchenko
Research Assistant, Psychology Department, Rutgers-Newark
Student  Ph.D. @ CS Dept. NJIT
Office: (973) 353-5440x263 | FWD: 82823 | Fax: (973) 353-1171
        101 Warren Str, Smith Hall, Rm 4-105, Newark NJ 07102
WWW:     http://www.linkedin.com/in/yarik        



More information about the Pkg-ExpPsy-PyMVPA mailing list