Closed hasanbalci closed 2 months ago
@ugurdogrusoz @hasanbalci for item 3 we return sbgn data for downloading purposes.
@YusufZiyaOzgul I guess you're talking about the download functionality in the demo application. Since the sbgn data/file is the same as the user input, unless error resolution is applied, this is unnecessary. Perhaps, we could simply ignore any download requests from the demo (better to disable that button) unless Resolve Errors has been applied.
@ugurdogrusoz for item3, sometimes we relocate some nodes during validation as well to enhance layout. so let's keep sending the sbgnml file
@ugurdogrusoz @hasanbalci for item 1,7,8 necessary renamings or deletion of unnecessary variables are done. for item 2 , colorCode property is added to error as a hex code. For item 4, it does not show highlihted nodes twice, it only highligts them in validation. For item 5, label info is added in error box if it exists otherwise it shill shows the id of node or arc. Incremental layout is applied now.
For item 5, I think there is an inconsistency between the error list shown in interface and downloaded errors json file. For example, when we apply validation for sample 1, "Role" field in the screen shows node labels and there is no label field. But when we download the Error file, there are two fields: role that shows node id and label that shows node label.
Additionally, I think currently we show the images in two different ways for validation and error fixing in the UI. When validation is applied, I see only some part of an image in docked version, whereas I see whole image after error fixing.
I see some inconsistencies here:
In the image, some nodes such as E3(San1) (errors 13 & 15) and misfolded protein (error 12) do not have their associated error numbers listed in parentheses in their labels (e.g., "E3(San1) (13, 15)" and "misfolded protein (12)"
For edges, since we're not providing labels in the image, let's make sure the text Role displays source and target glyphs labels, instead of the label of the arch.
@ugurdogrusoz E3(San1) is not related to errors given above. Since these errors are related to arcs, it is not labeled by these errors.
Regarding 5. let's not include error number (xx) in Label in the listing (just in the image) as it's redundant. Also, for edges if an edge is going from an unnamed glyph to a glyph named xx, label it " - xx" (similarly "xx - "). Notice the blank spaces before and after the dash. I added a couple of new items (11 & 12).
@ugurdogrusoz item 12 is fixed. Maximum height of popup image is now 800px.
Let's make autoSize
true here to set it as default.
Let's make
autoSize
true here to set it as default.
@hasanbalci it is true now.
@ugurdogrusoz for item 12, width and height of popped image are set default, it tightly fits to window.
For 12, we still have the following issues:
https://github.com/iVis-at-Bilkent/sybvals/assets/3874988/927e3fff-5e03-4412-b6c1-e1b68db35671
We could just reset the image window size each time to a default (that we use in first pop)!
@ugurdogrusoz @hasanbalci setting an aspect-ratio to draggable component fixes the problem.
Looks good to me. @hasanbalci ?
Yes, it looks good now.
autoSize
instead offullGraph
as the option name that we use to decide image size.image
instead ofimageErrorsHighlighted
while returning the image in the response.remainingErrors
. Let's remove it from validation query since it doesn't make sense.autoSize
true here to set it as default.randomize: true
) and Resolve Errors in an incremental fashion (randomize: false
). For this, we will try doing the layouts at Cysocape level, rather than relying on cytosnap.