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

Cell (along with other properties) cannot be accessed from project_hdf5 in Sphinx #1508

Open
samwaseda opened this issue Jul 26, 2024 · 2 comments
Labels
bug Something isn't working major incompatible API changes

Comments

@samwaseda
Copy link
Member

return self._job.project_hdf5["output/generic/cells"]

The reason why this line fails is because Sphinx uses DataContainer and has tags like cells__index_2, which obviously is not the same as cells when it's accessed from project_hdf5. I guess this topic really requires an overhaul discussion because it's a recurring issue with no structural solution in the current format

@samwaseda samwaseda added bug Something isn't working major incompatible API changes labels Jul 26, 2024
@jan-janssen
Copy link
Member

I have a prototype for accessing the output for Sphinx in the HDF5 file directly https://github.com/pyiron-dev/pyiron-hdf5-format

@pmrv
Copy link
Contributor

pmrv commented Jul 26, 2024

You should be able to just change project_hdf5 to content in the sphinx output, then it'll be resolve the data container automatically. I added this to base some time ago, but never got to using it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working major incompatible API changes
Projects
None yet
Development

No branches or pull requests

3 participants