modelprop.py
def _queryModel(self):
        '''
        extract a part of the model by doing a query on the 
        selected taxonomies (selectedtaxonomies)
        '''
        if (self.selectedtaxonomies):
            if (self._check_taxonomies(self.selectedtaxonomies)):
                self.query_result_metadata = self.metadata.copy()
                self.query_result_metadata['taxonomies']=self.selectedtaxonomies
                self.query_result_data = self.data.set_index('taxonomy').loc[self.selectedtaxonomies].reset_index()
        else:
            self.query_result_data = self.data
            self.query_result_metadata = self.metadata
        
        return(0)

        extract a part of the model by doing a query on the 
        selected taxonomies (selectedtaxonomies)
        
extract a part of the model by doing a query on the
selected taxonomies (selectedtaxonomies)
extract a part of the model by doing a query on the selected taxonomies ( selectedtaxonomies )
def _queryModel(self):
        if (self.selectedtaxonomies):
            if (self._check_taxonomies(self.selectedtaxonomies)):
                self.query_result_metadata = self.metadata.copy()
                self.query_result_metadata['taxonomies']=self.selectedtaxonomies
                self.query_result_data = self.data.set_index('taxonomy').loc[self.selectedtaxonomies].reset_index()
        else:
            self.query_result_data = self.data
            self.query_result_metadata = self.metadata
        return(0)
def _queryModel ( self ) : if ( self . selectedtaxonomies ) : if ( self . _check_taxonomies ( self . selectedtaxonomies ) ) : self . query_result_metadata = self . metadata . copy ( ) self . query_result_metadata [ 'taxonomies' ] = self . selectedtaxonomies self . query_result_data = self . data . set_index ( 'taxonomy' ) . loc [ self . selectedtaxonomies ] . reset_index ( ) else : self . query_result_data = self . data self . query_result_metadata = self . metadata return ( 0 )
extract a part of the model by doing a query on the
selected taxonomies (selectedtaxonomies)
extract a part of the model by doing a query on the selected taxonomies ( selectedtaxonomies )
'''
        extract a part of the model by doing a query on the 
        selected taxonomies (selectedtaxonomies)
        '''
self