Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#1908 closed task (fixed)

Batch inheriting multiple annotations

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: BASE 3.5
Component: web Version:
Keywords: Cc:

Description

Currently, if one wants to inherit annotations to an item one has to open the edit dialog for that item and select the annotations that should be inherited.

While this works for a few items, it is not so user-friendly if there are lots of items that should inherit annotations.

The feature should be available in the list view and should allow the user to select which items that should inherit annotations (eg. similar selection as in the table exporter [selected, current page, all]) and which annotation types that should be inherited.

It could be useful to also be able to specify the expected subtype of the parent item a particular annotation is expected to be found on to avoid duplicate inheritance.

Note! A similar functionality exists in the "View experiment" page, but it can only be used to inherit annotation types selected as experimental factors and it only works for raw bioassays that are part of the experiment. The new functionality is something more generic and it may even be used to replace the current functionality.

Change History (9)

comment:1 Changed 6 years ago by Nicklas Nordborg

Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

comment:2 Changed 6 years ago by Nicklas Nordborg

(In [6694]) References #1908: Batch inheriting multiple annotations

Added InheritAnnotationsManager, InheritSpecification and a few other changes.

A test case has been implemented from the raw bioassays lists page which allows the user to select one or more annotation types to inherit to the selected raw bioassays. It is possible to select if existing inherited annotations should be removed or if new annotations should be inherited. For each annotation type is possible to select the parent type to inherit from (to avoid duplicate inheritance).

comment:3 Changed 6 years ago by Nicklas Nordborg

(In [6695]) References #1908: Batch inheriting multiple annotations

Added to list pages for samples, extracts, physical bioassays, derived bioassays and array lims.

comment:4 Changed 6 years ago by Nicklas Nordborg

(In [6696]) References #1908: Batch inheriting multiple annotations

The auto-inherit function on the view experiments page has been updated to use the new inherit functionality. The same "Inherit annotations" dialog is opened and is pre-populated with the annotation types selected as experimental factors.

comment:5 Changed 6 years ago by Nicklas Nordborg

(In [6725]) References #1908: Batch inheriting multiple annotations

Added section about this feature to the documentation.

comment:6 Changed 6 years ago by Nicklas Nordborg

(In [6729]) References #1910 and #1908.

Batch inherit annotations has been updated to not allow selection of annotation type that has been disabled for inheritance.

comment:7 Changed 6 years ago by Nicklas Nordborg

(In [6806]) References #1908: Batch inheriting multiple annotations

Updated screen shot.

comment:8 Changed 6 years ago by Nicklas Nordborg

Resolution: fixed
Status: assignedclosed

comment:9 Changed 6 years ago by Nicklas Nordborg

(In [6857]) References #1908: Batch inheriting multiple annotations

Fixes a NPE when inheriting annotations to an item which has no annotations to begin with.

Note: See TracTickets for help on using tickets.