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

'Dataset' object has no attribute 'value' #1

Open
ghost opened this issue Dec 17, 2021 · 1 comment
Open

'Dataset' object has no attribute 'value' #1

ghost opened this issue Dec 17, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 17, 2021

When I try to run the bend90 example of spins-b with the Maxwell solver in 3D the Solver throws the following error:

Traceback (most recent call last):
  File "/home/jd/black/maxwell-b/maxwell-server/maxwell-solver/fdfd.py", line 324, in <module>
    simulate(sys.argv[1])  # Specify name of the job.
  File "/home/jd/black/maxwell-b/maxwell-server/maxwell-solver/fdfd.py", line 34, in simulate
    params = get_parameters(name)
  File "/home/jd/black/maxwell-b/maxwell-server/maxwell-solver/fdfd.py", line 204, in get_parameters
    bloch_phase = f['bloch_phase'].value
AttributeError: 'Dataset' object has no attribute 'value'
@ghost
Copy link
Author

ghost commented Dec 17, 2021

I think this is caused by Dataset.value being removed from newer h5py libraries

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

0 participants