ubermag / help

Repository for raising issues and requesting help on Ubermag
BSD 2-Clause "Simplified" License
11 stars 3 forks source link

Zhangli dynamics, Test Attribute Error #44

Closed Ponsudana closed 5 years ago

Ponsudana commented 5 years ago

Hi,

I have upgraded oommfc using conda as, "conda upgrade oommfc" After running the test, I got an Attribute Error. AttributeError Kindly help me to rectify this error.

I can't import oommfc in jupyter notebook too, it shows same attribute error.

Thanks, Ponusdana

marijanbeg commented 5 years ago

Hi @Ponsudana, thank you for reporting the issue. Could you try installing oommfc in Python 3.6 environment and let us know the outcome.

conda create -n environment_name python=3.6
conda activate environment_name
conda install --channel conda-forge oommfc

environment_name can be any name you choose.

Ponsudana commented 5 years ago

It worked. oommfc was successfully imported.

But got an error in field object as,

"Field object has no attribute plot_plane" Field object error

marijanbeg commented 5 years ago

Great. Please refer to new documentation for discretisedfield (https://discretisedfield.readthedocs.io/en/latest/), especially tutorials 9 and 10. The new interface is system.m.z.plane('z').mpl()

I will close this issue now, but feel free to reopen it.

Ponsudana commented 5 years ago

Thank you @marijanbeg

marijanbeg commented 5 years ago

You are more than welcome @Ponsudana! Please refer to the new documentation for different packages which are now a part of Ubermag: https://ubermag.readthedocs.io/en/latest/ipynb/04-tutorial-micromagnetic-tutorials.html. We added a lot of new functionalities and the interface changed a bit because of that. One small warning: for 3D visualisations using k3d, it is best to use Chrome as a browser.

Please let us know if you notice any problems or need any help from our side.

Ponsudana commented 5 years ago

Thank you so much for the tutorials. I'll check new documentation for my future works.

Thanks for the constant support @marijanbeg