-
Notifications
You must be signed in to change notification settings - Fork 14
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
Clone euxfel data file structure #467
Conversation
… of real data files. The resulting files do not hold any of the original data, only the group structure and dataset type/shape.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more comment: naming!
I'd move this out of tests, since it's useful for things beyond EXtra-data's own tests.
gendata
doesn't really describe what it does - it's not generating anything, and the output doesn't have most of the data. 😉 What about something like these options:
extra_data.mkskeleton
extra_data.mkemptyfiles
extra_data.hollowfiles
extra_data.stripfiles
replicate softlinks to new file ...
Fine with that, I though it is niche enough to hide it there, but 🤷
yea, I gave it purposely a terrible name to get ideas back 😁 Maybe also to consider: |
Or |
Other than that, LGTM |
So I added support for soft/hard links anyway, if you want to have an other look at it. |
Thanks, LGTM 👍 |
thanks for the review! :) |
prnote: Add a development tool to copy the structure of EuXFEL data files without the data. |
Add a little tool to generate EuXFEL data files by copying existing run data, but without any of the original data in the resulting files.
I made this originaly to build test for the exdf-tools as this is critical to test on real-like data from various cycles, but I thought this would be useful more generally, hence it ends up here.