Open NielsGeudens opened 5 months ago
@NielsGeudens For project Sample Types the syntax is different. Here's an example that would work:
The first row (sample 1) is how you would do it in an ISA JSON compliant sample type and the second row is how you would link the same samples in a (non-ISA-JSON compliant) project sample type.
The documentation should reflect this information.
I am trying to link a registered sample (protein) as an (optional) attribute (called protein_id) in a sample (genetic part) that I extract from a datafile. Behavior1 If I leave the registered sample info empty in the datafile, a sample can be extracted from it. The protein_id attribute will read "not specified". I can edit the sample, and provide a link to the registered sample manually. This is the expected behavior.
Behavior2 If I provide a correct link to the registered sample (see screenshot below), a sample can be extracted from the data file. The protein_id attribute will be empty, and will NOT read "not specified" or the [ ] entry. There is no link with the registered sample. Moreover, editing the sample does not work and gives a '500 error', so I also cannot provide the link to the registered sample manually.
*Behavior3 If I provide an incorrect link to the registered sample (see screenshot below), a sample can still be extracted from it. The protein_id attribute will be empty, and will NOT read "not specified". There is no link with the registered sample. Moreover, editing the sample does not work and gives a '500 error', so I also cannot provide the link to the registered sample manually.