Open mikkonie opened 5 months ago
Looking more closely, this limit mostly only applies to name fields and a few specific fields (technology platform, performer, array design ref, protocol version). I'll need to see an ISA-Tab where this fails to determine whether we need to change something or if the ISA-Tab should be modeled differently.
The sample sheet in question provides file material name fields as simple links, which SODAR does not currently support. So this becomes a design question on whether we should support this, add functionality for that and increase the max length, or instruct users to link to files using assay plugins or provide links in other fields. Marking this issue tbd
for now.
The default
CharField
length is set to 255 in samplesheets models. This is causing problems with longer values such as links.I can't think of a reason for the limit to be so low, probably a case of "it seemed reasonable at the time".
The length should be increased. I'll have to look into what is an appropriate length and which fields should be altered. This limit comes from
DEFAULT_LENGTH
which is used in quite a few places.