yeatmanlab / AFQ-Browser

Browser-based visualization tools for AFQ results
BSD 3-Clause "New" or "Revised" License
33 stars 15 forks source link

NaNs Break metadata table #274

Open jyeatman opened 6 years ago

jyeatman commented 6 years ago

When NaNs are present in afq.metadata, afqbrowser-assemble will leave these cells empty in the .csv file. This causes AFQ-Broswer to either zero pad or to drop those columns. For example, a column with all nans gets dropped making the table and the header not align. Details of the issue aren't important, but we need to find some elegant way to hand nans @arokem @akeshavan @richford

jyeatman commented 5 years ago

@arokem @richford @akeshavan I'm running into this again - There are some subjects with NaN values. afqbrowser-assemble writes these entries out as empty cells rather than keeping the nan and then AFQ-Browser replaces the empty spots with zeros. I thought we handle NaN values? Is there an easy fix?