yeatmanlab / AFQ-Browser

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

Variable x axis #209

Closed anotherjoshsmith closed 6 years ago

anotherjoshsmith commented 6 years ago

This PR addresses #196. These changes should allow proper handling of TRACULA data with different numbers of nodes for each tract.

anotherjoshsmith commented 6 years ago

@arokem @richford @jyeatman @akeshavan There is a bit of redundant code that I should be able to turn into a couple of small functions, but wanted to get this out there in case anyone else wants to test the functionality before we meet.

anotherjoshsmith commented 6 years ago

Redundant code cleaned up with updates in ac0f1b3ccb6acbfcdf80b59f70197598f2d12cb4.

richford commented 6 years ago

@anotherjoshsmith The axes look good and brushing works for me. There are a few issues I noticed:

richford commented 6 years ago

@anotherjoshsmith I created a PR against this branch on your fork to partially resolve the sorting issue. It's better but isn't completely fixed. The query string now saves an initial sort but if I click on a column twice, it won't save that on page refresh (weird). Again, this is all for the TRACULA generated data. Things work well for the AFQ generated data.

richford commented 6 years ago

@anotherjoshsmith I pushed another commit to that PR that fixes the restoration of column sorting from the querystring. If you merge that PR, I think all that's left is to fix the std area shading issue listed above.

anotherjoshsmith commented 6 years ago

@richford Great, thanks! I'll check out your changes and take care of the std area issue.

anotherjoshsmith commented 6 years ago

@richford Most recent commit fixes layering of g elements. Let me know if I broke anything!

richford commented 6 years ago

I found two errors, both of which are my fault I think. I submitted a PR on your branch to fix them. After that, I think it's good to go!