From: Warren D. <wa...@de...> - 2006-02-28 18:36:09
|
Indraneel, At present, wizards need to be located in the $PYMOL_PATH/modules/pymol/wizard directory -- changing this would be nontrivial, since all wizards are assumed to reside in the "pymol.wizard" namespace. FYI: module-name.__path__ has a different meaning than sys.path. Cheers, Warren -- Warren L. DeLano, Ph.D. =20 Principal Scientist . DeLano Scientific LLC =20 . 400 Oyster Point Blvd., Suite 213 =20 . South San Francisco, CA 94080 USA =20 . Biz:(650)-872-0942 Tech:(650)-872-0834 =20 . Fax:(650)-872-0273 Cell:(650)-346-1154 . mailto:wa...@de... =20 =20 > -----Original Message----- > From: Indraneel Majumdar [mailto:ind...@sm...]=20 > Sent: Monday, February 27, 2006 5:51 PM > To: pym...@li... > Cc: Warren DeLano > Subject: wizard path option >=20 > Hi, >=20 > I notice that imp.find_module() uses wizard.__path__ instead=20 > of the default sys.path. Is there a problem in using=20 > wizard.__path__+sys.path ? > I guess changing wizard.__path__ is probably a bad idea. >=20 > How should one run wizards not located in the pymol tree (eg=20 > during testing)? >=20 > TIA, > Indraneel >=20 > -- > http://prodata.swmed.edu >=20 >=20 >=20 >=20 |