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

RecreateGDML should recreate directory structure too #371

Open
wdconinc opened this issue Aug 7, 2020 · 1 comment
Open

RecreateGDML should recreate directory structure too #371

wdconinc opened this issue Aug 7, 2020 · 1 comment

Comments

@wdconinc
Copy link
Member

wdconinc commented Aug 7, 2020

Is your feature request related to a problem? Please describe.
Right now the functionality exists to recreate the GDML files from the ROOT files produced by remoll. This is very useful. However, the files are all created at a single level in the directory structure, meaning that they cannot be used right away for a new simulation. They first have to be copied into their directories again, which you have to find by parsing the files.

Describe the solution you'd like
I'd like to have the files appear in the original directory structure.

Describe alternatives you've considered
We could also modify the files as they are written to remove any references to directories, but that seems more complicated than recreating the directory structure.

@wdconinc
Copy link
Member Author

Issue with implementing this: When someone says /remoll/geometry /home/user/git/remoll/geometry/moller2.gdml, how do we figure out at what level to start recreating dirs?

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

1 participant