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

Allow setting FileStoreBase formatter, so that write_path_template, read_path_template can use non-strftime formats #1143

Open
DiamondJoseph opened this issue Aug 4, 2023 · 3 comments

Comments

@DiamondJoseph
Copy link

At Diamond, we want our raw files written into directories for the current visit, and would ideally represent the exactly location for the file to land in our ResourceDocuments.

This will probably end up being the in the root of the document rather than the resourcePath, such that the resourcePath is the path relative to the visit directory, but being able to form different paths inside the visit may be useful.

@prjemian
Copy link
Contributor

prjemian commented Aug 4, 2023 via email

@DiamondJoseph
Copy link
Author

This ticket is mostly not connected to root/resourcePath handling, which I'm actively trying to avoid falling into your mentioned issue with.

root will be <some/diamond/specific/filesystem/path>/visit
resourcePath will be .</some/structure/within/a/visit>
.nxs files will only have ./resourcePath links written into them.

But our resourcePath/structure within a visit probably wants to be something like ./runN/, rather than ./2023 or ./20230804
Our root can ~easily be set to a new visit directory on stage as appropriate for the run we are staging for, but our resourcePath seems limited to just strftime

@prjemian
Copy link
Contributor

prjemian commented Aug 4, 2023 via email

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

No branches or pull requests

2 participants