FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Return empty dataframe for empty files by ablot · Pull Request #55 · harp-tech/harp-python · GitHub

Return empty dataframe for empty files - #55

Open
ablot wants to merge 1 commit into
harp-tech:mainfrom
znamlab:read_empty_files
Open

Return empty dataframe for empty files#55
ablot wants to merge 1 commit into
harp-tech:mainfrom
znamlab:read_empty_files

Conversation

ablot commented Jan 12, 2026
edited
Loading

Copy link
Copy Markdown

If trying to read a file that has 0 bits (because no event was ever save for instance), from_file returns a empty structure but the transformation to dataframe crashes with a cryptic "IndexError". Return an empty dataframe instead.

Should solve #54

Note that I tested only with the OutputSet of a behaviour box.

If trying to read a file that has 0 bits (because no event was ever save for instance), from_file returns
a empty structure but the transformation to dataframe crashes with a cryptic "IndexError".
Return an empty dataframe instead.

CLAassistant commented Jan 12, 2026
edited
Loading

Copy link
Copy Markdown


Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL