-
Notifications
You must be signed in to change notification settings - Fork 42
Description
I loaded the file (the csv version of the file, zenhub doesn't allow CSV files so I had to upload a excel version) and links were forming between each node and nodes (p1, p2, and p3). These three nodes don't have a sequence and they shouldn't have any genetic links. It seems this issue is specific to node files as a CSV, but node files as excel is working.
I believe I have a fix but am testing it further before pushing. Essentially, the empty field (null) is getting converted into a string 'null' by filterXSS function and then the string ('null') is being treated as a genetic sequences. After filterXSS and before calculating genetic distance there is a statement that sets the node.seq to a string of gaps/dashes ('------....') but this is based on if node.seq is falsey. The current fix is to expand the if statement that sets this to include if seq=='null', 'none' or 'na'.