#NEWLINE# def test_valid_nan_handling( self ) : #NEWLINE# #INDENT# fp = get_data_path ( 'blast6_custom_mixed_nans' ) #NEWLINE# df = _blast6_to_data_frame ( fp , columns = [ 'qacc' , 'qseq' , 'btop' , 'sframe' , 'ppos' , 'positive' , 'gaps' ] ) #NEWLINE# exp = pd . DataFrame ( [ [ np . nan , 'PAAWWWWW' , 8.0 , 1.0 , 100.0 , np . nan , 0.0 ] , [ 'query1' , np . nan , 8.0 , 1.0 , np . nan , 8.0 , 0.0 ] ] , columns = [ 'qacc' , 'qseq' , 'btop' , 'sframe' , 'ppos' , 'positive' , 'gaps' ] ) #NEWLINE# assert_data_frame_almost_equal ( df , exp )