Changeset 8798


Ignore:
Timestamp:
Dec 28, 2007, 4:29:49 PM (13 years ago)
Author:
dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8797 r8798  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21 2007/12/28 Daniela Dorner
     22
     23   * datacenter/db/builddatasets.php:
     24     - added warning in case of different dt of on sequences
     25     - added comments
     26
     27
    2028
    2129 2007/12/21 Daniela Dorner
  • trunk/MagicSoft/Mars/datacenter/db/builddatasets.php

    r8768 r8798  
    531531                mysql_free_result($result);
    532532
    533 
     533                //check dt for on-sequences
     534                $query="SELECT fDiscriminatorThresholdTableKEY FROM Sequences where fSequenceFirst IN (" . $on . ") GROUP BY fDiscriminatorThresholdTableKEY";
     535                $result = mysql_query($query, $db_id);
     536                $numdtkeys=mysql_num_rows($result);
     537                mysql_free_result($result);
     538
     539
     540                //set limit
    534541                $runtimelimit=5;
    535542                $unsuitablemaxlimit=15;
     
    543550
    544551
     552                //check values for infos, warnings and errors
    545553                $numerr=0;
    546554                if (!empty($on))
     
    623631//                        $numerr=$numerr+1;
    624632                    }
     633                    if ($numdtkeys>1)
     634                    {
     635                        printf("<li style='color:%s'>%s: Your selected on sequences have more than one (%s) different discriminator threshold tables ",
     636                               $color["ERROR"], "WARN", $numdtkeys);
     637                    }
    625638                    if (empty($_POST["fObservationModeKEY"]) && !empty($_GET["obsmode"]))
    626639                        $_POST["fObservationModeKEY"]=$_GET["obsmode"];
Note: See TracChangeset for help on using the changeset viewer.