Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

g.inspectfile can't extract sampling rate from header returned by read.myacc.csv() #1056

Closed
2 tasks done
l-k- opened this issue Feb 21, 2024 · 0 comments · Fixed by #1057
Closed
2 tasks done

g.inspectfile can't extract sampling rate from header returned by read.myacc.csv() #1056

l-k- opened this issue Feb 21, 2024 · 0 comments · Fixed by #1057
Assignees

Comments

@l-k-
Copy link
Collaborator

l-k- commented Feb 21, 2024

Describe the bug

A user reported an issue here , and I'm able to reproduce it.

For ad-hoc csv files, read.myacc.csv() returns the header arranged in rows, but g.inspectfile() tries to access header rows as if they were columns, like this: header$sample_rate

I will send a PR in a bit.

To Reproduce

To reproduce, I stepped through this test and I tried accessing the sampling rate the same way g.inspectfile() does: D1$header$sample_rate. I saw that the information in D1$header is arranged in rows, and so cannot be addressed like this.

(This issue is not related to any recent changes)

Before submitting

  • Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?
  • Have you tried this on the latest master branch from GitHub?
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 a pull request may close this issue.

1 participant