Improve handling of TissueSamples and others in SpecimenTreeEditor
Tissue Samples are handled stored as DnaSample in specimen tree editor which is not correct as they never can have any of the additional attributes that DnaSample offers.
Also other code needs to be adapted as there is some unnecessary casting to DnaSample involved and also some other restrictions.
create DerivedUnit of type TissueSample for tissueSamples instead of DNASample
ref #9443 broaden the usecases when media can be added to field or derived unit
ref #9443 broaden the usecases when dnasample can be added to field or derived unit
#2 Updated by Andreas Müller 4 months ago
- Status changed from In Progress to Resolved
- % Done changed from 20 to 50
Saving as DerivedUnit needs to be reverted as we want to allow also TissueSample to have DNA Sequences attached directly (without having empty DNA Sample records).
So we should better try to implement the merge of DnaSample and DerivedUnit soon (#9455).
#6 Updated by Andreas Müller 4 months ago
- Assignee changed from Andreas Müller to Katja Luther
Katja, can you check the commits of this ticket again if they look ok? Generally this ticket was reverted, however the removed class casts do make sense and therefore can stay, I think. Do you agree?
Can be closed if you agree.