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

add data directory to imageseries config #496

Open
donald-e-boyce opened this issue Feb 2, 2023 · 0 comments
Open

add data directory to imageseries config #496

donald-e-boyce opened this issue Feb 2, 2023 · 0 comments
Labels
HEDM issues pertaining the HEDM workflow low priority low priority task

Comments

@donald-e-boyce
Copy link
Collaborator

It would be convenient to specify a data directory in the imageseries config file. As it is, either all the data files are in the current directory or they are in a different directory and every panel has the same directory path before the filename. It would nice to have a single directory specified. For example: this config

image_series:
  format: frame-cache
  data:
    - file: /a/b/c/sample-panel-0.npz
      args: {}
      panel: panel-0  # must match detector key
    - file: /a/b/c/sample-panel-1.npz
      args: {}
      panel: panel-1  # must match detector key

could be replaced with

image_series:
  format: frame-cache
  path:  /a/b/c
  data:
    - file: sample-panel-0.npz
      args: {}
      panel: panel-0  # must match detector key
    - file: sample-panel-1.npz
      args: {}
      panel: panel-1  # must match detector key

See hexrd.config.imageseries

@donald-e-boyce donald-e-boyce added the low priority low priority task label Feb 2, 2023
@psavery psavery added the HEDM issues pertaining the HEDM workflow label Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HEDM issues pertaining the HEDM workflow low priority low priority task
Projects
None yet
Development

No branches or pull requests

2 participants