crest
crest copied to clipboard
A argument similar to the namespace in xtb
I'm interested in putting the output files into a specific folder instead of the current directory. In xtb, I could use namespace to control where the files will be stored, I wonder if I could do similar thing with crest? Thank you.
Yes, this is in principle possible with xtb by exploiting the way the namespacing just adds the namespace string in front of every normal file (hidden files create by xtb will be handled differently for namespacing!). But the directory and its hidden counterpart of course have to exist otherwise it just errors.
The trick in xtb is to have a specific subroutine which is called to open files instead of using open directly, this allows to consistently impose a global namespace. A similar strategy could be applied in crest as well, but it requires some careful consideration since crest can also write files for starting other programs, those must not end up getting namespaces without crest being aware about the changed file name.
@awvwgk Thanks for the in-depth explanation. I wonder if there is any keyword that I could use to transfer all the files generated by crest to a specified folder or do they have to be in the present folder?
This issue had no activity for 6 months. It will be closed in 1 week unless there is some new activity.