seek
seek copied to clipboard
Undefined method 'title' in app/views/assays/show.html.erb
Error in rendering the child assays.
An ActionView::Template::Error occurred in assays#show:
undefined method `title' for nil:NilClass
app/views/assays/show.html.erb:89
In case of an ISA JSON conpliant assay, the assay metadata shows either:
-
'Child assays' in case the assay is of type 'assay stream'
-
'Assay stream' in case the assay is of type 'experimental'
In the rare case of (older?) orphaned ISA-JSON compliant assays, there is no assay stream linked to it, which results in an error when trying to fetch its title.
In case the assay stream can't be found, the application should not try to put a link to the assay stream.