FFEA_springs.get_num_springs() returns double what it should be

Issue #60 new
Ryan Cocking created an issue

ffea_src/ffeatools/modules/FFEA_springs.py

I found this when editing the pymol plugin __init__.py to print the number of springs loaded in (using FFEAtools), then testing on 3-spring and 6-spring kinetochore structures. The FFEA simulation confirms that the expected number of springs are loaded, but FFEA_springs.get_num_springs() returns double that value.

I think it’s something to do with how num_springs is read in from a file in FFEA_springs.load_springs(). I have not tested this on different structures, e.g. dynein (only 1 spring).

I’ve put it as minor because I don’t know how widely used FFEA_springs is throughout the rest of the FFEAtools codebase. The file itself doesn’t depend on any imports from other FFEAtools files.

Comments (0)

  1. Log in to comment