iVis-at-Bilkent / newt

A web application to visualize and edit pathway models
http://newteditor.org
GNU Lesser General Public License v3.0
53 stars 27 forks source link

Export/import problems #743

Closed ugurdogrusoz closed 2 months ago

ugurdogrusoz commented 2 months ago
umut-er commented 2 months ago

I pushed the code to fix item number 1. That should be visible after rebuild. For items 2 and 4, I don't think there are easy fixes for those. The service we use returns an error with some files. I tried to debug that, but it's not clear what the issue is.

For item 3, we are not using our native code for that conversion. In fact, we are not using any code. We just assume the map is SBGN. For a temporary fix, we can convert SBML into SBGNML and then send that to the sbgnml2cd service. However, that would only keep visual information and completely disregard the simulation related information that we might implement. I think sbml to cd conversion might be an interesting project for the future.

ugurdogrusoz commented 2 months ago

for 2 and 4, we should display a warning saying "Conversion failed." rather than service is not available which is misleading.

for 3, we should treat this case as if the user wants to export to SBML since CD format is a valid SBML format (conversely, CD format is an extension of SBML format).

umut-er commented 2 months ago

This one is ready to review after rebuild.