PYME.recipes.traits module¶
Shim to give us a uniform way of importing traits (and replacing them if needed in the future)
- class PYME.recipes.traits.FileOrURI(*args, **kwargs)¶
Bases:
CStrCustom trait for files that can either be on disk or on the cluster
Used for calibration data such as PSFs and shiftmaps which are static across multiple invocations of a recipe.
Disables validation to work around traitsUI issues
- info_text = 'a local file name or pyme-cluster:// URI'¶
- validate(object, name, value)¶