nfdi4plants / Swate

Excel Add-In for annotation of experimental data and computational workflows.
https://swate-alpha.nfdi4plants.org
MIT License
31 stars 6 forks source link

[BUG] Performance of ARCitect GUI goes down massively. #525

Open arendd opened 1 week ago

arendd commented 1 week ago

I started creating some example ARCs and realized that the general performance of the application, e.g. when creating a new contact, adding new tables, switching between fields is becoming very laggy and I just added one study with 130 lines and two assays with around 4000 lines. I takes 5 seconds, sometimes more to change a menu or adding new values.

If it helps I can share the ARC for testing, it is in a private group in the PlantDataHub.

JonasLukasczyk commented 1 week ago

Hi, thank you for posting this. Please share the ARC if possible. To nail down the issue: is the actual ARCitect UI becoming leggy or the SWATE view?

JonasLukasczyk commented 1 week ago

My suspicion is that there is some problem with SWATE. You can test this by opening SWATE in the browser and importing the ISA file you are having trouble with: https://swate-alpha.nfdi4plants.org/.

Please let us know if you see the same problems on the webpage.

arendd commented 1 week ago

What is the difference between ARCitect UI and Swate? I dont use the Swate plugin, just downloaded the ARCitect app (0.0.40/41) and run it in the desktop on Mac an Windows. I attached the ARC. Where is the "load" button on https://swate-alpha.nfdi4plants.org/ ? fieldphenotypingwheat.zip

Freymaurer commented 1 week ago

Hey! The ARCitect uses Swate to render the individual isa files. Everytime you click on one of the isa files in ARCitect it will load the file in an internal Swate version. In Swate standalone you can edit single files. Can you try to edit the largest of your files in the Swate browser version, so we can narrow down which parts might be too slow? Thank you in advance!

arendd commented 1 week ago

Hey guys, thank you for you help. Unfortunately with https://swate-alpha.nfdi4plants.org/ I can only edit the investigation. How can I add studies and assays? I tried it already with the ARCitect. The Investigaiton is fine, but after adding my studies and assays it become laggy.

Freymaurer commented 1 week ago

You can delete the currently opened investigation with the trash icon on the top rght of the spreadsheet view and then simply upload the correct isa.study file

arendd commented 1 week ago

Okay sorry, was a browser cache problem, did not get the "import file" button. Now it works. I tested two assay files with ~4000 respectively ~8000 lines. Both are laggy. They can be loaded, but then already adding a new "Performer" takes very long. I attached both files: isa.assay.xlsx, isa.assay.xlsx