phenotips / open-pedigree

A free and open-source pedigree tool by PhenoTips®
GNU Lesser General Public License v2.1
46 stars 25 forks source link

Siblings seem to cause layout errors #5

Closed dconlan closed 4 years ago

dconlan commented 4 years ago

If you import a simple (fixed, see issue 4) PED with two parents and 2 children

F1 Proband Father Mother 1 -9
F1 Mother 0 0 2 -9
F1 Father 0 0 1 -9
F1 Sister Father Mother 2 -9

You get a console full of errors like this:

Error: <path> attribute d: Expected number, "MNaN,272LNaN,215L…"

because it seems to have made some nodes have a position of NaN. All of the nodes appear on top of each other, and scaling/panning doesn't work. Screenshot from 2019-11-18 15-31-28

buske commented 4 years ago

I was unable to reproduce this in Firefox, but was able to reproduce it in Chrome. This appears to be the same issue as this: https://github.com/phenotips/phenotips/issues/1209

buske commented 4 years ago

Marking this as resolved, but please re-open if this issue persists, @dconlan. Thanks again for flagging this!