Changes between Initial Version and Version 1 of Ticket #786, comment 11


Ignore:
Timestamp:
May 27, 2015, 4:14:09 PM (5 years ago)
Author:
olle
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #786, comment 11

    initial v1  
    66
    77 1. Javascript file `extraction_utils.js` in `resources/sampleproc/` updated:[[BR]]a. New function `getQiacubeSortedPrefixes(primaryQiacubePrefix, secondaryQiacubePrefix)` added. It returns a string of letters in alphabetical order, except that the primary and secondary prefixes given as arguments are placed in the first and second position, respectively.[[BR]]b. Function `getDetailedQiaCubePosition(nitems, i)` updated with new argument `qiacubeSortedPrefixes` to `getDetailedQiaCubePosition(nitems, i, qiacubeSortedPrefixes)`.[[BR]]c. Function `getQiacubePosition(intPosition)` renamed "`getDetailedQiacubePosition`", in order to have all functions returning a QIAcube position as a combination of an instrument prefix and internal position number having "`DetailedQiacubePosition`" in the name. Also one new argument, `qiacubeSortedPrefixes`, added to give `getDetailedQiacubePosition(intPosition, qiacubeSortedPrefixes)`.[[BR]]d. Function `getIntQiacubePosition(positionStr)` updated with new argument `qiacubeSortedPrefixes` to `getIntQiacubePosition(positionStr, qiacubeSortedPrefixes)`.
     8 2. Javascript files `extraction_formcopy.js`, `extraction_preparation.js`, and `extraction_registration.js` in `resources/sampleproc/` updated:[[BR]]a. New argument `qiacubeSortedPrefixes` is added in calls to the updated functions
     9 in javascript file `extraction_utils.js`. If the string is not previously available, local function `getQiacubeSortedPrefixes()` is called to provide it.[[BR]]b. Function `getQiacubeSortedPrefixes()` updated to call new function `getQiacubeSortedPrefixes(primaryQiacubePrefix, secondaryQiacubePrefix)` in javascript file `extraction_utils.js` to get the string to return.