Can't export data

Issue #583 closed
Jhee Hong Koh created an issue

USE CASE: WHAT DO YOU WANT TO DO?

Export data.

STEPS TO REPRODUCE AN ISSUE (OR TRIGGER A NEW FEATURE)

Exporting large matrix gives an error. Current stats: rows - 2930, clumns - 6, matrix size - 17580

Sample data is exported fine.

CURRENT BEHAVIOR

Error message gives "Width (0) and height (76) cannot be < = 0"

EXPECTED BEHAVIOR

Data should be exported.

DEVELOPERS ONLY SECTION

SUGGESTED CHANGE (Pseudocode optional)

I suspect this has to do with the pixel width of the output matrix, since this is a very narrow dataset. I would look in the export code math for the pixels and implement a reasonable minimum.

FILES AFFECTED (where the changes will be implemented) - developers only

unknown

LEVEL OF EFFORT - developers only

medium

COMMENTS

I created a test dataset:

https://bitbucket.org/TreeView3Dev/treeview3/downloads/issue583.txt

and took a screen-cap of the error. Note, the user never gets to the export interface.

exportwarning.png

Comments (5)

  1. Robert Leach

    Thanks for the report. Is there any way you could send the data file to treeview@princeton.edu? And what export options did you select? My initial guess is that selecting the aspect ratio “as seen on screen” might work around the issue.

  2. Robert Leach

    I have implemented a fix for this. Not sure when the next release will be. If you'd like to try it, email treeview@princeton.edu and I'll send you a jar file to test.

  3. Log in to comment