Skip to content

TypeError on PCCAPlus #35

@OTYGUG

Description

@OTYGUG

The pcca+() function encountered an unprocessable data type during the calculation process pcca = PCCAPlus.from_msm(msm, n_macrostates=12).

Traceback (most recent call last): File "/home/msm/a/MSM.py", line 52, in <module> pcca = PCCAPlus.from_msm(msm, n_macrostates=5) File "/home/tomcat/anaconda3/envs/py39/lib/python3.9/site-packages/msmbuilder/lumping/pcca.py", line 125, in from_msm lumper._do_lumping() File "/home/tomcat/anaconda3/envs/py39/lib/python3.9/site-packages/msmbuilder/lumping/pcca_plus.py", line 135, in _do_lumping A = self._optimize_A(A) File "/home/anaconda3/envs/py39/lib/python3.9/site-packages/msmbuilder/lumping/pcca_plus.py", line 173, in _optimize_A if np.isneginf(obj(alpha)): File "/home/anaconda3/envs/py39/lib/python3.9/site-packages/numpy/lib/ufunclike.py", line 207, in isneginf raise TypeError(f'This operation is not supported for {dtype} values ' TypeError: This operation is not supported for complex128 values because it would be ambiguous.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions