Skip to content

Commit c021a89

Browse files
committed
melhorando a verificação da coluna no filter modifier
1 parent f25bd16 commit c021a89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modifiers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function apply!(modifier::FilterModifier, data::DataFrame, event::Int)
3939
columns = Symbol[]
4040
for col in modifier.columns
4141
#TODO: Não ficou boa essa checagem.
42-
if !(string(col) in names(data))
42+
if !(col in propertynames(data))
4343
#TODO: Colocar para avisar somente uma única vez do problema.
4444
@warn "O stream não possui a $col"
4545
else

0 commit comments

Comments
 (0)