Skip to content

HDXWorkbench analysis is falling with version 1 #10

Description

@r78v10a07

Hi,
I'm processing the attached file with the options:

python ~/Work/Developer/Python/bayesian_hdx/bin/hdxworkbench.py --NSTEPS 5000 --init random --bins 10  CSV_Data_Export.csv output_v1/

The error:

/Users/veraalva/Work/Developer/Python/bayesian_hdx/venv/lib/python3.7/site-packages/numpy/lib/function_base.py:393: RuntimeWarning: Mean of empty slice.
  avg = a.mean(axis)
/Users/veraalva/Work/Developer/Python/bayesian_hdx/venv/lib/python3.7/site-packages/numpy/core/_methods.py:161: RuntimeWarning: invalid value encountered in double_scalars
  ret = ret.dtype.type(ret / rcount)
/Users/veraalva/Work/Developer/Python/bayesian_hdx/venv/lib/python3.7/site-packages/numpy/core/_methods.py:217: RuntimeWarning: Degrees of freedom <= 0 for slice
  keepdims=keepdims)
/Users/veraalva/Work/Developer/Python/bayesian_hdx/venv/lib/python3.7/site-packages/numpy/core/_methods.py:186: RuntimeWarning: invalid value encountered in true_divide
  arrmean, rcount, out=arrmean, casting='unsafe', subok=False)
/Users/veraalva/Work/Developer/Python/bayesian_hdx/venv/lib/python3.7/site-packages/numpy/core/_methods.py:209: RuntimeWarning: invalid value encountered in double_scalars
  ret = ret.dtype.type(ret / rcount)
Traceback (most recent call last):
  File "/Users/veraalva/Work/Developer/Python/bayesian_hdx/bin/hdxworkbench.py", line 164, in <module>
    noclobber=False)
  File "/Users/veraalva/Work/Developer/Python/bayesian_hdx/pyext/src/plots.py", line 123, in plot_apo_lig_dhdx
    dhdx = avg_lig[n] - avg_apo[n]
IndexError: invalid index to scalar variable.

Could you, please, have a look and let me know why it is not working?
Thanks,
Roberto

The script:
https://github.com/r78v10a07/bayesian_hdx/blob/hdxworkbench-script.v1/bin/hdxworkbench.py

CSV_Data_Export.csv.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions