#NEWLINE# def filter_dataset( self , path , row , date ) : #NEWLINE# #INDENT# 'Return True if the dataset should be included, False otherwise.\n\n        Overridden to allow NULLS for row \n        ' #NEWLINE# ( start_date , end_date ) = self . get_date_range ( ) #NEWLINE# ( min_path , max_path ) = self . get_path_range ( ) #NEWLINE# ( min_row , max_row ) = self . get_row_range ( ) #NEWLINE# include = ( ( ( int ( self ) is None ) or ( path is None ) or ( int ( path ) <= int ( max_path ) ) ) and ( ( int ( min_path ) is None ) or ( path is None ) or ( int ( path ) >= int ( min_path ) ) ) and ( ( end_date is None ) or ( date is None ) or ( date <= end_date ) ) and ( ( start_date is None ) or ( date is None ) or ( date >= start_date ) ) ) #NEWLINE# return include