pymodeler/model.py
def _init_properties(self):
        """ Loop through the list of Properties,
        extract the derived and required properties and do the
        appropriate book-keeping
        """
        self._missing = {}
        for k, p in self.params.items():
            if p.required:
                self._missing[k] = p
            if isinstance(p, Derived):
                if p.loader is None:
                    # Default to using _<param_name>
                    p.loader = self.__getattribute__("_%s" % k)
                elif isinstance(p.loader, str):
                    p.loader = self.__getattribute__(p.loader)
def _init_properties(self):
        self._missing = {}
        for k, p in self.params.items():
            if p.required:
                self._missing[k] = p
            if isinstance(p, Derived):
                if p.loader is None:
                    # Default to using _<param_name>
                    p.loader = self.__getattribute__("_%s" % k)
                elif isinstance(p.loader, str):
                    p.loader = self.__getattribute__(p.loader)
def _init_properties ( self ) : self . _missing = { } for k , p in self . params . items ( ) : if p . required : self . _missing [ k ] = p if isinstance ( p , Derived ) : if p . loader is None : # Default to using _<param_name> p . loader = self . __getattribute__ ( "_%s" % k ) elif isinstance ( p . loader , str ) : p . loader = self . __getattribute__ ( p . loader )
Loop through the list of Properties,
        extract the derived and required properties and do the
        appropriate book-keeping
Loop through the list of Properties extract the derived and required properties and do the appropriate book - keeping