qbicsoftware / data-manager-app

A web-based life science omics and imaging data management solution
MIT License
8 stars 0 forks source link

Experiment Information is editable even if samples are registered #683

Open Steffengreiner opened 4 days ago

Steffengreiner commented 4 days ago

Describe the bug Currently experiment details such as species, specimen and analyte are editable even though samples have been registered. This means that a user can remove the species even though it has been associated with a sample, which leads to an inconsistent state.

To Reproduce Steps to reproduce the behavior: In Design Experiment, after samples are registered, click on "edit experiment" and remove the selected species and add another, click on save and it still saves the new species.

Expected behavior Species, Specimen and Analyte are not editable after samples have been registered.