Skip to content

Commit

Permalink
extractors: check if the input is a valid DataFrame in
Browse files Browse the repository at this point in the history
PatternMatchingBulkExtractor
  • Loading branch information
hagau committed Jan 16, 2025
1 parent 2974d4d commit b1991dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extractors.py
Original file line number Diff line number Diff line change
Expand Up @@ -1192,6 +1192,8 @@ def extract_all_signals(db_file, pattern, alias
, eventNumber=eventNumber
)

if data is None or data.empty:
return pd.DataFrame()

def process_vectorName(d):
# compile the signal matching regex
Expand Down

0 comments on commit b1991dd

Please sign in to comment.