Changeset 8273 for trunk/MagicSoft/Mars/datacenter/db/builddatasets.php
- Timestamp:
- 01/27/07 13:29:08 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/builddatasets.php
r8249 r8273 301 301 $_GET["fIMCLimit1"]=$first?"00":""; 302 302 303 if (empty($_GET["fIMCLimit2"])) 304 $_GET["fIMCLimit2"]=$first?"00":""; 305 303 306 if (empty($_GET["fIsoInLimit1"])) 304 307 $_GET["fIsoInLimit1"]=$first?"00":""; 308 309 if (empty($_GET["fIsoInLimit2"])) 310 $_GET["fIsoInLimit2"]=$first?"00":""; 305 311 306 312 if (empty($_GET["fInhomLimitMean"])) … … 563 569 ); 564 570 //get runtimes of dataset 565 function GetSequenceValues($db_id, $sequences, $txt, &$values)571 function GetSequenceValues($db_id, $sequences, $txt, &$values) 566 572 { 567 573 $query="SELECT COUNT(*) "; … … 616 622 617 623 //check observationmode for on-sequences 618 $query="SELECT fObservationModeKEY FROM Sequences where fSequenceFirst IN ('" . $sequences . "') GROUP BY fObservationModeKEY"; 619 // printf("q: %s <br>", $query); 624 $query="SELECT fObservationModeKEY FROM Sequences where fSequenceFirst IN (" . $on . ") GROUP BY fObservationModeKEY"; 620 625 $result = mysql_query($query, $db_id); 621 626 $numobskeys=mysql_num_rows($result); … … 711 716 { 712 717 printf("<li style='color:%s'>%s: You have selected more than one (%s) different observation modes for your on sequences", 713 $color["ERROR"], "ERROR", $numobskeys); 714 $numerr=$numerr+1; 718 $color["ERROR"], "WARN", $numobskeys); 719 // $numerr=$numerr+1; 720 } 721 if (empty($_POST["fObservationModeKEY"]) && !empty($_GET["obsmode"])) 722 $_POST["fObservationModeKEY"]=$_GET["obsmode"]; 723 if ($_POST["fObservationModeKEY"]==3 && empty($off)) 724 { 725 printf("<li style='color:%s'>%s: You have selected on/off mode, but you haven't chosen any off sequences.", 726 $color["ERROR"], "WARN"); 727 // $numerr=$numerr+1; 715 728 } 716 729 if (empty($realsourcekey)) … … 801 814 if (empty($_POST["comment"]) && !empty($_GET["comment"])) 802 815 $_POST["comment"]=$_GET["comment"]; 803 if (empty($_POST["fObservationModeKEY"]) && !empty($_GET["obsmode"]))804 $_POST["fObservationModeKEY"]=$_GET["obsmode"];805 816 if (empty($_POST["fUserKEY"]) && !empty($_GET["username"])) 806 817 $_POST["fUserKEY"]=$_GET["username"]; … … 851 862 printf("<table><tr><td colspan='2' align='center'>Dataset</td></tr>"); 852 863 printf("<tr><td>proposed DataSet#: </td><td>%s</td></tr>", $dataset); 853 printf("<tr><td >SequencesOn:</td><td> %s</td></tr>", $sequon);864 printf("<tr><td valign='top'>SequencesOn:</td><td> %s</td></tr>", $sequon); 854 865 if (!empty($sequoff)) 855 printf("<tr><td >SequencesOff:</td><td> %s</td></tr>", $sequoff);866 printf("<tr><td valign='top'>SequencesOff:</td><td> %s</td></tr>", $sequoff); 856 867 printf("<tr><td>Scale: </td><td>%0.2f</td></tr>", $scale); 857 868 printf("<tr><td>SourcenamesOn[%s]: </td><td>%s</td></tr>", str_word_count($sourceson), $sourceson);
Note:
See TracChangeset
for help on using the changeset viewer.