iVis-at-Bilkent / sybvals

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

Node sizes change after resolving errors #15

Closed hasanbalci closed 3 months ago

hasanbalci commented 3 months ago

I think we lose the actual node sizes when we resolve errors. This can be seen in sample 2, just resolve errors, download SBGNML file and open it in Newt. All non-compound node sizes are 30 by 30.

YusufZiyaOzgul commented 3 months ago

@ugurdogrusoz @hasanbalci it works correct now. It occurs due to processing the process nodes before validation and solved by adding one if statement for resolve part.

hasanbalci commented 3 months ago

Node size issue looks solved, thanks! Another small issue I noticed: The below image is after resolving errors in Sample 2. Should we move the process outside into the compartment on the left? Actually if I download the SBGNML file and open it in Newt, I see that process node is inside the compartment. It seems that the file and image aren't consistent after we resolve the errors. polyq_proteins_interference (1)

hasanbalci commented 3 months ago

Also in the same sample, I realized that there is an inconsistency in Error 2. There is a fix explanation but it seems unfixed. And label shows "(2)", but I cannot see any such label in the image.

Screenshot 2024-06-30 at 16 13 13
YusufZiyaOzgul commented 3 months ago

Node size issue looks solved, thanks! Another small issue I noticed: The below image is after resolving errors in Sample 2. Should we move the process outside into the compartment on the left? Actually if I download the SBGNML file and open it in Newt, I see that process node is inside the compartment. It seems that the file and image aren't consistent after we resolve the errors. polyq_proteins_interference (1)

@hasanbalci I think is is related to Newt, not related to Sybvals. Try following steps, first load sample 2 do validation and resolve, then download the sbgn file. Then upload it to both sybvals and newt, corresponding maps are different but. Content of the sbgn file is changed in newt. There is no compartment ref related to process node you mentioned, but it in newt, it is compartment referenced.

hasanbalci commented 3 months ago

@YusufZiyaOzgul Newt also applies a postprocessing for process nodes while loading the file, so it may not be a good place to test this issue. But if you check the content of the file downloaded from Sybvals after error fixing, you can see that there are 2 processes, 1 uncertain process and 2 association nodes without compartment references. You can also see that when you upload it to Syblars which doesn't apply any postprocessing on process nodes. polyq_proteins_interference (3)

hasanbalci commented 3 months ago

This seems resolved.