raven
raven copied to clipboard
running RAVEN from different directory to input xml
Issue Description
What did you expect to see happen?
While running raven_framework.xml \raven\tests\framework\user_guide\ravenTutorial\singleRun.xml from the \raven\ directory, expected to RAVEN to look for files (e.g. model executable) relative to input .xml.
What did you see instead?
RAVEN failed to find files.
Do you have a suggested fix for the development team?
Please attach the input file(s) that generate this error. The simpler the input, the faster we can find the issue.
\raven\tests\framework\user_guide\ravenTutorial\singleRun.xml.
For Change Control Board: Issue Review
This review should occur before any development is performed as a response to this issue.
- [x] 1. Is it tagged with a type: defect or task?
- [x] 2. Is it tagged with a priority: critical, normal or minor?
- [x] 3. If it will impact requirements or requirements tests, is it tagged with requirements?
- [x] 4. If it is a defect, can it cause wrong results for users? If so an email needs to be sent to the users.
- [x] 5. Is a rationale provided? (Such as explaining why the improvement is needed or why current code is wrong.)
For Change Control Board: Issue Closure
This review should occur when the issue is imminently going to be closed.
- [ ] 1. If the issue is a defect, is the defect fixed?
- [ ] 2. If the issue is a defect, is the defect tested for in the regression test system? (If not explain why not.)
- [ ] 3. If the issue can impact users, has an email to the users group been written (the email should specify if the defect impacts stable or master)?
- [ ] 4. If the issue is a defect, does it impact the latest release branch? If yes, is there any issue tagged with release (create if needed)?
- [ ] 5. If the issue is being closed without a pull request, has an explanation of why it is being closed been provided?
I spent some time looking at this; the test runs fine from the input directory, but not from a different directory. The reason isn't clear to me yet; I'm sure it can be traced down.
I think PR #1870 will resolve part of the issue, and I think we can keep this issue open. @dylanjm
The following are comments from #1870, I will keep them here for reference:
the path in the Code.py is assigned in initialize method, the 'subSubDirectory', is it the place that you are looking for?
