function parseTransfers(str) {
    var rowArray = parseCsv(str, ",");
    var transferArray = new Array();
    for(var i = 0, len = rowArray.length; i < len; i++) {
        var row = rowArray[i];
        var source, volume, destination;
        try {
            source = convertCoords(row[0]);
            volume = readNumeral(row[1]);
            destination = convertCoords(row[2]);
        } catch(e) {
            throw "UnableToParseTransferTableException:" + e;
        }
        transferArray[i] = new Transfer(source, volume, destination, true);
    }
    return transferArray;
}
/*
 Creates an array of Transfer objects from a csv file with format:
        source,volume,destination
 where source and destination are given in well coordinates, e.g. 'D4'
*/
Creates an array of Transfer objects from a csv file with format:
source,volume,destination
where source and destination are given in well coordinates, e.g. 'D4'
Creates an array of Transfer objects from a csv file with format : source volume destination where source and destination are given in well coordinates e . g . ' D4 '
function parseTransfers(str) {
    var rowArray = parseCsv(str, ",");
    var transferArray = new Array();
    for(var i = 0, len = rowArray.length; i < len; i++) {
        var row = rowArray[i];
        var source, volume, destination;
        try {
            source = convertCoords(row[0]);
            volume = readNumeral(row[1]);
            destination = convertCoords(row[2]);
        } catch(e) {
            throw "UnableToParseTransferTableException:" + e;
        }
        transferArray[i] = new Transfer(source, volume, destination, true);
    }
    return transferArray;
}
function parseTransfers ( str ) { var rowArray = parseCsv ( str , "," ) ; var transferArray = new Array ( ) ; for ( var i = 0 , len = rowArray . length ; i < len ; i ++ ) { var row = rowArray [ i ] ; var source , volume , destination ; try { source = convertCoords ( row [ 0 ] ) ; volume = readNumeral ( row [ 1 ] ) ; destination = convertCoords ( row [ 2 ] ) ; } catch ( e ) { throw "UnableToParseTransferTableException:" + e ; } transferArray [ i ] = new Transfer ( source , volume , destination , true ) ; } return transferArray ; }
Creates an array of Transfer objects from a csv file with format:
source,volume,destination
where source and destination are given in well coordinates, e.g.
Creates an array of Transfer objects from a csv file with format : source volume destination where source and destination are given in well coordinates e . g .