Changeset 13969
- Timestamp:
- Jun 25, 2007, 10:47:22 AM (19 years ago)
- Location:
- branches/backtrack/ippTools
- Files:
-
- 5 edited
-
scripts/camtest.sh (modified) (1 diff)
-
scripts/regtest.sh (modified) (1 diff)
-
share/regtool_find_unprocessed_exp.sql (modified) (1 diff)
-
share/regtool_find_unprocessed_imfile.sql (modified) (1 diff)
-
share/regtool_pendingexp.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/backtrack/ippTools/scripts/camtest.sh
r12188 r13969 8 8 camtool -pendingimfile || exit 1 9 9 10 camtool -addprocessedexp -cam_id 1 - uri file:///cam -bg 1 -bg_stdev 2 -bg_mean_stdev 3 -sigma_ra 1 -sigma_dec 2 -nastro 42 -path_base file:///foo -zp_mean 1 -zp_stdev 2 || exit 111 camtool -addprocessedexp -cam_id 2 - uri file:///cam -bg 1 -bg_stdev 2 -bg_mean_stdev 3 -sigma_ra 1 -sigma_dec 2 -nastro 42 -path_base file:///foo -zp_mean 1 -zp_stdev 2 || exit 110 camtool -addprocessedexp -cam_id 1 -chip_id 1 -uri file:///cam -bg 1 -bg_stdev 2 -bg_mean_stdev 3 -sigma_ra 1 -sigma_dec 2 -nastro 42 -path_base file:///foo -zp_mean 1 -zp_stdev 2 || exit 1 11 camtool -addprocessedexp -cam_id 2 -chip_id 2 -uri file:///cam -bg 1 -bg_stdev 2 -bg_mean_stdev 3 -sigma_ra 1 -sigma_dec 2 -nastro 42 -path_base file:///foo -zp_mean 1 -zp_stdev 2 || exit 1 -
branches/backtrack/ippTools/scripts/regtest.sh
r12259 r13969 11 11 12 12 for ID in `seq 0 3`; do 13 $inject -newImfile -exp_tag $exp_tag1 -class OTA -class_id $ID -uri file://$ID || exit 113 $inject -newImfile -exp_tag $exp_tag1 -class_id $ID -uri file://$ID || exit 1 14 14 done; 15 16 $inject -updatenewExp -exp_tag $exp_tag1 -state run 15 17 16 18 exp_tag2=`$inject -newExp -exp_id t11 -inst gpc -telescope ps1 -imfiles 4 -workdir file::///some/path -simple` || exit 1 17 19 18 20 for ID in `seq 0 3`; do 19 $inject -newImfile -exp_tag $exp_tag2 -class OTA -class_id $ID -uri file://$ID || exit 121 $inject -newImfile -exp_tag $exp_tag2 -class_id $ID -uri file://$ID || exit 1 20 22 done; 23 24 $inject -updatenewExp -exp_tag $exp_tag2 -state run 21 25 22 26 $regtool -pendingimfile || exit 1 -
branches/backtrack/ippTools/share/regtool_find_unprocessed_exp.sql
r12086 r13969 1 SELECT 2 newExp.* 3 FROM newExp 4 LEFT JOIN newImfile 5 USING(exp_tag) 6 LEFT JOIN rawExp 7 USING(exp_tag) 1 SELECT DISTINCT * FROM 2 (SELECT 3 newExp.* 4 FROM newExp 5 JOIN newImfile 6 USING(exp_tag) 7 LEFT JOIN rawExp 8 USING(exp_tag) 9 WHERE 10 newExp.state = 'run' 11 AND rawExp.exp_tag IS NULL 12 AND newExp.imfiles = 13 (SELECT COUNT(exp_tag) FROM rawImfile 14 WHERE rawImfile.exp_tag = newExp.exp_tag)) as Foo 8 15 WHERE 9 newExp.exp_tag IS NOT NULL 10 AND newImfile.exp_tag IS NULL 11 AND rawExp.exp_tag IS NULL 12 AND newExp.imfiles = 13 (SELECT COUNT(exp_tag) FROM rawImfile 14 WHERE rawImfile.exp_tag = newExp.exp_tag) 15 AND newExp.exp_tag = '%s' 16 exp_tag = '%s' -
branches/backtrack/ippTools/share/regtool_find_unprocessed_imfile.sql
r12086 r13969 1 SELECT 2 * 3 FROM 4 (SELECT newImfile.* FROM newImfile 5 LEFT JOIN newExp USING(exp_tag) 6 LEFT JOIN rawExp USING(exp_tag) 7 WHERE newExp.exp_tag IS NOT NULL 1 SELECT DISTINCT * FROM 2 (SELECT 3 newImfile.* 4 FROM newImfile 5 JOIN newExp 6 USING(exp_tag) 7 LEFT JOIN rawExp 8 USING(exp_tag) 9 WHERE 10 newExp.state = 'run' 8 11 AND rawExp.exp_tag IS NULL) as Foo -
branches/backtrack/ippTools/share/regtool_pendingexp.sql
r12086 r13969 2 2 newExp.* 3 3 FROM newExp 4 LEFTJOIN newImfile4 JOIN newImfile 5 5 USING(exp_tag) 6 6 LEFT JOIN rawExp 7 7 USING(exp_tag) 8 8 WHERE 9 new Imfile.exp_tag IS NULL9 newExp.state = 'run' 10 10 AND rawExp.exp_tag IS NULL 11 11 AND newExp.imfiles =
Note:
See TracChangeset
for help on using the changeset viewer.
