zerothi / ts-tbt-sisl-tutorial

Tutorials for the sisl-TBtrans-TranSiesta suite
Creative Commons Attribution Share Alike 4.0 International
33 stars 30 forks source link

Error running %pdoc sisl.Geometry.tile help(sisl.Geometry.tile) #13

Closed mathew-physics closed 3 years ago

mathew-physics commented 3 years ago

Object sisl.Geometry.tile not found.

NameError Traceback (most recent call last)

in 1 get_ipython().run_line_magic('pdoc', 'sisl.Geometry.tile') ----> 2 help(sisl.Geometry.tile) NameError: name 'sisl' is not defined
zerothi commented 3 years ago

Please provide more information... It looks like you didn't execute all cells

Also, you can't just give an error message and expect me to know which tutorial you are writing about... So please provide more details.

mathew-physics commented 3 years ago

I was going through the initial part of the tutorial. The error happened at the cell after For instance to get help regarding a specific function in a class, you may invoke either of the following 2 lines of code, whichever you prefer (the first will divide the current window with this and a help window, while the other will print out):

As you mentioned, the error was because I didn't execute all cells. I some how missed the import sisl at the top

Thank you for the immediate feedback

zerothi commented 3 years ago

Great! :)