iVis-at-Bilkent / sybvals

SyBValS: Systems Biology Validation Service
MIT License
2 stars 0 forks source link

Misc issues 3 #12

Closed hasanbalci closed 2 months ago

hasanbalci commented 3 months ago
YusufZiyaOzgul commented 3 months ago

@ugurdogrusoz @hasanbalci for item 3 we return sbgn data for downloading purposes.

ugurdogrusoz commented 3 months ago

@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.

YusufZiyaOzgul commented 3 months ago

@ugurdogrusoz for item3, sometimes we relocate some nodes during validation as well to enhance layout. so let's keep sending the sbgnml file

YusufZiyaOzgul commented 3 months ago

@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.

hasanbalci commented 3 months ago

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.

ugurdogrusoz commented 3 months ago
  1. 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.
YusufZiyaOzgul commented 3 months ago
  1. 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.

ugurdogrusoz commented 3 months ago

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).

YusufZiyaOzgul commented 3 months ago

@ugurdogrusoz item 12 is fixed. Maximum height of popup image is now 800px.

hasanbalci commented 3 months ago

Let's make autoSize true here to set it as default.

YusufZiyaOzgul commented 2 months ago

Let's make autoSize true here to set it as default.

@hasanbalci it is true now.

YusufZiyaOzgul commented 2 months ago

@ugurdogrusoz for item 12, width and height of popped image are set default, it tightly fits to window.

ugurdogrusoz commented 2 months ago

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)!

YusufZiyaOzgul commented 2 months ago

@ugurdogrusoz @hasanbalci setting an aspect-ratio to draggable component fixes the problem.

ugurdogrusoz commented 2 months ago

Looks good to me. @hasanbalci ?

hasanbalci commented 2 months ago

Yes, it looks good now.