Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#1397 closed enhancement (fixed)

Function to inherit annotations for all experimental factors in the experimental factors table

Reported by: Johan Vallon-Christersson Owned by: Nicklas Nordborg
Priority: major Milestone: BASE 2.15
Component: core Version:
Keywords: Cc:

Description

This ticket elaborate on some points raised in ticket:1374

In the Properties tab of an experiment a user can click in the Experimental factors table to automatically inherit experimental factors (from parents down to Rawbioassays).

The function that exists is for the user to inherit annotations for one experimental factor at the time.

Use case: An experiment with 190 rawbioassays and 70 experimental factors. Currently, the user must click to inherit the experimental factors one at the time and considerable time is taken for each experimental factor to be inherited. The user must wait for the first experimental factor to be inherited and for the page to reload before initializing the 2nd and so on.

The functionality that is needed is for the user to click to inherit annotations for all (or a selection of) experimental factors in the experimental factors table. This operation might take considerable time but the user will not be tied up by waiting for the 1st experimental factor to be inherited before initializing the 2nd, 3rd .. 70th.

Change History (7)

comment:1 by Nicklas Nordborg, 15 years ago

Milestone: BASE 2.15

comment:2 by Nicklas Nordborg, 15 years ago

Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

comment:3 by Nicklas Nordborg, 15 years ago

Component: webcore

comment:4 by Nicklas Nordborg, 15 years ago

(In [5176]) References #1397: Function to inherit annotations for all experimental factors in the experimental factors table

The core part is implemented. It now uses the cached snapshots to lookup annotations so it should be a lot faster than before, though I have no measurements on this.

It remains to change the gui so that multiple experimental factors can be selected and inherited in one go.

comment:5 by Nicklas Nordborg, 15 years ago

I'll put this on hold until BASE 2.14.1 has been merged into the trunk. The "view experiment" displays incorrect information about the experimental factors due to #1418.

comment:6 by Nicklas Nordborg, 15 years ago

Resolution: fixed
Status: assignedclosed

(In [5186]) Fixes #1397: Function to inherit annotations for all experimental factors in the experimental factors table

The processing is now also done in the background while a progress bar is showing in the foreground. It should be useful as soon as there are 10 or more raw bioassays.

Side effects:

  • Added 'id' attribute to <tbl:cell> taglib so that it is possible to modify the contents with javascript.
  • Fixed a cosmetic issue with the generic progress reporter implementation. 0% and 100% didn't display a correct progress bar.

comment:7 by Nicklas Nordborg, 15 years ago

(In [5314]) References #1397: Function to inherit annotations for all experimental factors in the experimental factors table

Fixed a NullPointerException that happened when the item to inherit annotations to doesn't have any annotations already.

Updated test documentation to reflect changes in the gui.

Note: See TracTickets for help on using tickets.