Git Product home page Git Product logo

Comments (7)

wlsong avatar wlsong commented on August 21, 2024

Hi,

Thanks for pointing out the typo.. I have corrected.
I have also corrected the issue with the reported error. Please update to the latest version by 'pip install pylipid --upgrade'. Let me know if you have issues with the updated version.

Wanling

from pylipid.

wlsong avatar wlsong commented on August 21, 2024

The latest version is 1.4.5.

from pylipid.

sheshe9 avatar sheshe9 commented on August 21, 2024

Hello,

Thanks for your reply.

The error then appears to be fixed but is now in the next function:

File "python_interaction.py", line 69, in
surface_area_data = li.compute_surface_area(binding_site_id=None, radii=radii)
File "/home/asma97/.local/lib/python3.8/site-packages/pylipid/api/api.py", line 946, in compute_surface_area
plot_surface_area(surface_area_data,
File "/home/asma97/.local/lib/python3.8/site-packages/pylipid/plot/plot1d.py", line 349, in plot_surface_area
axes[row_idx, col_idx].plot(df["Time"], df[bs_name], color=colors[col_idx],

IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed

from pylipid.

wlsong avatar wlsong commented on August 21, 2024

In order to fix the error, could you please let me know how many binding sites were calculated by pylipid and how many trajectories were used for calculation?

from pylipid.

wlsong avatar wlsong commented on August 21, 2024

My guess is probably just one binding site was detected. I tried to fix the bug based on that. Please update pylipid to 1.4.6 and see if this issue is fixed.

from pylipid.

sheshe9 avatar sheshe9 commented on August 21, 2024

Hi,

One trajectory was used. There were seven BS_id7.pdf files produced. I will test the new update.

from pylipid.

wlsong avatar wlsong commented on August 21, 2024

Hi,

I have figured out what issue is and fixed the bug. Please use the 1.4.7 version.

from pylipid.

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.