Skip to content

xml2json recursively search for the root data file #696

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

Open
kratsg opened this issue Dec 17, 2019 · 2 comments
Open

xml2json recursively search for the root data file #696

kratsg opened this issue Dec 17, 2019 · 2 comments
Labels
feat/enhancement New feature or request good first issue Good for newcomers

Comments

@kratsg
Copy link
Contributor

kratsg commented Dec 17, 2019

Description

When running xml2json, it's often configured that the input file prefix is results/<analysis name>/<filename>.root which is not necessarily something I make initially when I copy over the files. In these cases, I'd want xml2json to just search the directory I'm running in for the root file (i.e. using its basename).

@kratsg kratsg added feat/enhancement New feature or request good first issue Good for newcomers labels Dec 17, 2019
@lukasheinrich
Copy link
Contributor

this would break compatibility with hist2workspace no? I'd rather see the ROOT-aware scripts handling this (beyond just dumping PrintXML())

@kratsg
Copy link
Contributor Author

kratsg commented Dec 19, 2019

Well, I'd just want xml2json to be a bit more flexible -- but this won't break the hist2workspace compatibility (it's only in the import direction to be flexible).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat/enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants