Giter Site home page Giter Site logo

Comments (13)

JaGeo avatar JaGeo commented on June 11, 2024 1

I ran it in "TestData/NaSbF6"

and get AttributeError: 'tuple' object has no attribute 'atoms'

from lobsterpy.

naik-aakash avatar naik-aakash commented on June 11, 2024 1

I ran it in "TestData/NaSbF6"

and get AttributeError: 'tuple' object has no attribute 'atoms'

Seems it could probably stem from pymatgen ?

from lobsterpy.

JaGeo avatar JaGeo commented on June 11, 2024 1

Now, with the latest pymatgen, it works. I think a fix would be to require a newer pymatgen version.

from lobsterpy.

JaGeo avatar JaGeo commented on June 11, 2024 1

I have updated the pymatgen version number for now and we have to make sure we keep this updated in the future.

from lobsterpy.

naik-aakash avatar naik-aakash commented on June 11, 2024

Can you post the error please ? For my local repo with current master branch it works

from lobsterpy.

naik-aakash avatar naik-aakash commented on June 11, 2024

This is strange. It works fine for me without error. I just checked for both cation-anion andall bonds mode

from lobsterpy.

JaGeo avatar JaGeo commented on June 11, 2024

I will make a fresh environment and then see.

from lobsterpy.

JaGeo avatar JaGeo commented on June 11, 2024

But we need a test to make sure it doesn't break again. ;)

from lobsterpy.

naik-aakash avatar naik-aakash commented on June 11, 2024

But we need a test to make sure it doesn't break again. ;)

I do not know tbh, what kind of test will need to be written for such a case. Any ideas ?

from lobsterpy.

JaGeo avatar JaGeo commented on June 11, 2024

Do we test the label-resolved plotter? You could simply test if you can execute the command with the testfolder I mentioned above.

from lobsterpy.

naik-aakash avatar naik-aakash commented on June 11, 2024

Do we test the label-resolved plotter? You could simply test if you can execute the command with the testfolder I mentioned above.

Yes, we do that test. Just not in CLI, but normal Python interface. If it does not work, it will get caught in there if something is wrong with pymatgen version

from lobsterpy.

JaGeo avatar JaGeo commented on June 11, 2024

I used a fresh environment and installed LobsterPy. Then an older pymatgen version was installed and it failed. Our test should then be failing as well, shouldn't it?

from lobsterpy.

naik-aakash avatar naik-aakash commented on June 11, 2024

I used a fresh environment and installed LobsterPy. Then an older pymatgen version was installed and it failed. Our test should then be failing as well, shouldn't it?

Yes it should fail definitely. Will see what's happening

from lobsterpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.