def get_library_instance(self, library_path, library_name):
        """Generate a Library instance from within libraries dictionary tree."""
        if self.is_library_in_libraries(library_path, library_name):
            from rafcon.core.states.library_state import LibraryState
            return LibraryState(library_path, library_name, "0.1")
        else:
            logger.warning("Library manager will not create a library instance which is not in the mounted libraries.")
def get_library_instance ( self , library_path , library_name ) : if self . is_library_in_libraries ( library_path , library_name ) : from rafcon . core . states . library_state import LibraryState return LibraryState ( library_path , library_name , "0.1" ) else : logger . warning ( "Library manager will not create a library instance which is not in the mounted libraries." )
Generate a Library instance from within libraries dictionary tree.