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

Include running measure script in CSV metadata #798

Open
alexdewar opened this issue Mar 11, 2025 · 1 comment
Open

Include running measure script in CSV metadata #798

alexdewar opened this issue Mar 11, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@alexdewar
Copy link
Collaborator

We are writing metadata to CSV file headers in YAML form (via the pycsvy package) which means we could potentially include the whole measure script in there as a record. An alternative would be to just include the filepath, but I think it would be better to just have the whole script as files can be deleted/edited etc.

The downside of this would be that the header would no longer be a fixed number of lines, so users wanting to ignore the metadata for their data processing woudn't be able to rely on this. You can skip over the header by looking for the second line of ---s though.

@alexdewar alexdewar added the enhancement New feature or request label Mar 11, 2025
@alexdewar
Copy link
Collaborator Author

What do you think about this @jonemurray? Worth doing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant