Code Monkey home page Code Monkey logo

Comments (5)

Govnavid avatar Govnavid commented on June 24, 2024 1

Thank you very much for you answer.
I'll solve the problem in your way. If possible, I hope you can upload the update version to PyPl later. Thanks again for your kind help.
Best whises!

from sgtpy.

gustavochm avatar gustavochm commented on June 24, 2024

Hi Govnavid,

Thanks for using sgtpy! Can you provide more information on what error are you getting? I just run the same script that you wrote and sgtpy is finding the volume root (see the attached figure)

Screenshot 2022-11-02 at 11 19 58

Regards,
Gustavo

from sgtpy.

Govnavid avatar Govnavid commented on June 24, 2024

Hello Gustavo.
My code is exactly the same as yours, but there is a problem in the figure below. The sgtpy version I installed is the latest version 0.015.
I still don't have a solution. Could you please give me some advice?

屏幕截图 2022-11-03 092218
Best Regards,
Govnavid.

from sgtpy.

Govnavid avatar Govnavid commented on June 24, 2024

Hello Gustavo.
Here is my complete code.
image
Best whises,
Govnavid.

from sgtpy.

gustavochm avatar gustavochm commented on June 24, 2024

Ohh now I see what happened. This was a bug for molecules that had association sites but that wasn't self-associating. I fixed the bug on the GitHub repo but apparently, I forgot to upload the updated to PyPI.
I'm going to upload the updated version to PyPI now, however at this moment I only have access to a mac computer, so I won't be able to upload precompiled windows versions. If you are using windows, you will need a C compiler.

If you are using windows and don't have a C compiler, a workaround would be to modify the config_asso.py file (located at C:\Users\SunShow\AppData\Roaming\Python\Python39\site-packages\sgtpy\config_asso.py). You need to modify lines 246 to 250 to the following:

indexABij1 = np.hstack([indexABij1])
indexABij2 = np.hstack([indexABij2])

indexAB_id1 = np.hstack([indexAB_id1])
indexAB_id2 = np.hstack([indexAB_id2])

Hope that helps,
Gustavo!

from sgtpy.

Related Issues (14)

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.