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

windows {write|read}_mesh abs path round trip issue #1297

Open
cyrush opened this issue Jul 16, 2024 · 0 comments
Open

windows {write|read}_mesh abs path round trip issue #1297

cyrush opened this issue Jul 16, 2024 · 0 comments
Labels
Milestone

Comments

@cyrush
Copy link
Member

cyrush commented Jul 16, 2024

When save mesh is written using an abs path base on windows -- the following gets embedded in the root file:

D:\a\ascent\ascent\build\tests\_output/

This leads to a combined tree pattern that looks like:

D:\a\ascent\ascent\build\tests\_output/D:\a\ascent\ascent\build\tests\_output\tout_render_3d_mixed_thresh_extract.root"

which is wrong and triggers an exception on read:

IOHandle does not support opening paths with subpaths specified: "D:\a\ascent\ascent\build\tests\_output/D:\a\ascent\ascent\build\tests\_output\tout_render_3d_mixed_thresh_extract.root"
  1. In this case, there output dir should be empty
  2. Mixed use of \ and / is confusing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant