Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug-gmx_MMPBSA_ana]: #548

Open
Jackshoulder opened this issue Nov 20, 2024 · 0 comments
Open

[Bug-gmx_MMPBSA_ana]: #548

Jackshoulder opened this issue Nov 20, 2024 · 0 comments

Comments

@Jackshoulder
Copy link

Bug summary

gmx_MMPBSA_ana

Terminal output

gmx_MMPBSA_ana
Traceback (most recent call last):
  File "/root/anaconda3/envs/gmxMMPBSA/lib/python3.11/site-packages/GMXMMPBSA/analyzer/customitem.py", line 373, in fn_btn_group
    self.plotting_bar(checked)
  File "/root/anaconda3/envs/gmxMMPBSA/lib/python3.11/site-packages/GMXMMPBSA/analyzer/customitem.py", line 423, in plotting_bar
    self.bp_subw = BarChart(bar_plot_data, self.bar_chart_action, options=options, item_parent=self)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/anaconda3/envs/gmxMMPBSA/lib/python3.11/site-packages/GMXMMPBSA/analyzer/plots.py", line 289, in __init__
    bl = bar_label(bar_plot_ax, bar_plot_ax.containers[1],
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/anaconda3/envs/gmxMMPBSA/lib/python3.11/site-packages/GMXMMPBSA/analyzer/utils.py", line 144, in bar_label
    endpt = err[:, 1].max() if dat >= 0 else err[:, 1].min()
                                             ~~~^^^^^^
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed

Actual outcome

截图 2024-11-20 14-00-05

Expected outcome

with a results

Additional information

No response

Operating system

ubuntu

gmx_MMPBSA_ana Version

gmx_MMPBSA_ana 1.6.4 based on MMPBSA version 16.0

Python version

Python 3.11.8

Installation

pip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant