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

Can't access model companion directory from Runner/WorkflowJSON in Apply Measure Now #120

Open
macumber opened this issue Apr 27, 2018 · 2 comments

Comments

@macumber
Copy link
Collaborator

Apply measure now uses a temp model and sandbox to protect the working model. However, we need a way to access files in the model's companion directory. Use cases are:

  • Write an html report to the reports directory
  • Write a csv file to the model's data dir
  • Read a file from the model's data dir

We need to make sure to revert all changes if the user cancels. Suggest that we initialize a temp model companion dir with all files, then merge that back on accept.

@macumber macumber self-assigned this Apr 27, 2018
@macumber
Copy link
Collaborator Author

@jmarrec FYI

@jmarrec jmarrec self-assigned this Feb 5, 2019
@jmarrec jmarrec transferred this issue from NREL/OpenStudio May 13, 2020
@jmarrec
Copy link
Collaborator

jmarrec commented Jun 10, 2020

I think the issue title might be a bit misleading. The companion dir can be accessed (or should be accessible) via WorkflowJSON I think. The path to the original model dir cannot however.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants