Changes between Version 1 and Version 2 of net.sf.basedb.reggie/notes421


Ignore:
Timestamp:
Nov 19, 2018, 2:22:20 PM (6 years ago)
Author:
Nicklas Nordborg
Comment:

Added notes about ticket #1078

Legend:

Unmodified
Added
Removed
Modified
  • net.sf.basedb.reggie/notes421

    v1 v2  
    11= Updating to Reggie 4.21 =
    22
    3 == 1. Assign release ID values to No, Not asked, Retract and !RetroNo items ==
     3'''Note! The first should be done before Reggie is updated. The remaining steps can be made before or after the update, but
     4in both cases it is important that nobody is creating new items before the update and all steps have been completed.'''
     5
     6== 1. Rename the "Not asked" subtype to "!NotAsked" ==
     7
     8Go to ''Administrate -> Types -> Item subtypes'', locate the `Not asked` subtype and change the name to `NotAsked`.
     9
     10== 2. Rename all "!NotAsked" biosource items ==
     11
     12All biosource items with a name that starts with `Not asked` should be renamed so that they start with `NotAsked` instead. The numeric value that follows should not be changed. This should be fairly easy by exporting a file with the internal ID and name of all items, change the names and then importing the file back to BASE using a batch importer. Note that the value of the "'''Identification method'''" parameter should be set to "'''Internal ID'''".
     13
     14Tip! This step can also be used to create the `External ID` values for the `NotAsked` items (see below).
     15
     16== 3. Assign release ID values to No, !NotAsked, Retract and !RetroNo items ==
    417
    518Ticket #1077 is assigning unique release ID values to all biosource items that are not patient items.
     
    821 || '''Item type'''  ||  '''Prefix'''  || '''Note''' ||
    922 || No & !RetroNo    ||  N  || ||
    10  || Not asked        ||  Z  || ||
     23 || !NotAsked         ||  Z  || ||
    1124 || Retract          ||  R  || Existing items that have a `Qnnn` external id should also be updated ||
    1225
    1326
    14 All existing items need to be assigned external ID values. A simple procedure is to export 3 data files with the internal ID of each item. One file for `No` and `RetroNo` items, one file for `Not asked` items, and one file for `Retract` items. Use a spreadsheet program to add a second column with auto-generated release ID values. Import the text files back into BASE using the built-in batch importer plug-ins. It is of course also possible to do this with a single file. Just make sure that the correct prefix is used for each of the item types.
     27All existing items need to be assigned external ID values. A simple procedure is to export 3 data files with the internal ID of each item. One file for `No` and `RetroNo` items, one file for `NotAsked` items, and one file for `Retract` items. Use a spreadsheet program to add a second column with auto-generated release ID values. Import the text files back into BASE using the built-in batch importer plug-ins. It is of course also possible to do this with a single file. Just make sure that the correct prefix is used for each of the item types.
    1528
    16 '''Note! This can be done before or after Reggie is updated. Just make sure that no other user is creating new items during this process.'''