propy3 icon indicating copy to clipboard operation
propy3 copied to clipboard

Failing Doctests in multiple scripts

Open Aquaplant opened this issue 10 months ago • 0 comments

Hello,

in the following scripts the Doctests fail caused by keyerrors. Either the wrong type is assumes (array access for a dictionary) or the assumed key is not in the dictionary.

  • Autocorrelation.py (index access on dictionary or string: AAProperty[i], AAPropertyName[i])
    • CalculateGearyAuto
    • CalculateMoranAuto
    • CalculateNormalizedMoreauBrotoAuto
  • PseudoAAC.py (see above)
    • GetCorrelationFunction
    • GetPseudoAAC
    • GetSequenceOrderCorrelationFactor
  • QuasiSequenceOrder.py (probably distancematrix is not build correctly for the full size dictionary?)
    • GetQuasiSequenceOrder1
    • GetQuasiSequenceOrder2
    • GetQuasiSequenceOrderp
    • GetSequenceOrderCouplingNumberp

Python 3.9 with current GitRepo.

I will look into this, when I got more time in the next weeks, but appreciate if someone else is faster ;-)

Greetings, Fabian

Aquaplant avatar Jan 30 '25 10:01 Aquaplant