Opened 7 years ago

Closed 7 years ago

#1007 closed enhancement (fixed)

The release exporter should sort raw bioassay by external id when the "Use external ID" options is active

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: Reggie v4.13
Component: net.sf.basedb.reggie Keywords:
Cc:

Description

The raw bioassays to export are usually sorted by name in all files. When the "Use external ID" options is active all names are replaced with the external id from the specimen which means that the sort order seems like a "random" sort order. It would be useful to re-sort the rawbioassays in external id order.

It should not bee too hard to fix this, but it is not a simple change in the query used for loading the data either.

To sort the raw bioassays we need to first load the specimen names and external id. For each raw bioassay we can then find the corresponding specimen (by comparing the names) and generate the external id. Onbce we have that for all raw bioassays we can re-sort the list.

Change History (1)

comment:1 by Nicklas Nordborg, 7 years ago

Resolution: fixed
Status: newclosed

(In [4626]) Fixes #1007: The release exporter should sort raw bioassay by external id when the "Use external ID" options is active

Note: See TracTickets for help on using tickets.