wiki:net.sf.basedb.reggie/notes416

Version 1 (modified by Nicklas Nordborg, 6 years ago) ( diff )

Added a note about INCA 2 changes

Updating to Reggie 4.16

The steps below doesn't have to be done immediately when updating to Reggie 4.16. Note however that wizards that works with INCA data may not behave as expected until the INCA 2 data is in place. This includes:

  • The Inca import and Inca statistics wizards
  • The Release exporter plug-in
  • The Reference date batch update wizard

Remove existing INCA annotations

It is recommended that existing INCA annotations are removed from all items and that all INCA annotation types are deleted. To do this a number of steps are required:

  1. Export a file with the ID of all Case items.
  2. Export a file with the Name of all INCA annotation types. Use INCA\_% as a filter for the name column.
  3. Create a third file by merging the two files. The first line should contain ID followed by all annotation types names (tab-separated). The remaining lines should contain the ID of the Case items. It is not necessary to fill up with tabs. For example:
  4. Use the resulting file with the "Annotation importer" plug-in. Make sure that:
    • 'Internal ID' is used for mapping to existing items
    • 'Remove existing' option is checked
    • The plug-in should find INCA annotation types automatically
  5. Run the plug-in to remove all existing INCA annotations.
  6. Go to Administrate -> Types -> Annotation types. It should now be possible to delete all INCA_ annotation types. Don't forget to remove them from the Trashcan.

Create INCA2 annotation types

The /home/SCANB/BatchUpdateFiles/inca2_definitions_all.txt file contains annotation type definitions for all INCA2 variables. Use the Annotation type importer to create them.

Import new INCA data

Use the Reggie INCA import wizard to import new INCA data. The wizard need to be used twice. One time with the regular INCA data and one time with the follow-up data.

Note: See TracWiki for help on using the wiki.