Changeset 38823
- Timestamp:
- Oct 8, 2015, 2:07:30 PM (11 years ago)
- Location:
- trunk/ippToPsps
- Files:
-
- 1 deleted
- 7 edited
-
config/ippToPspsDbSchema.sql (modified) (1 diff)
-
configure.ac (modified) (3 diffs)
-
jars/jython.jar (deleted)
-
jython/ippjython (modified) (1 diff)
-
jython/scratchdb.py (modified) (1 diff)
-
perl/Makefile.am (modified) (1 diff)
-
test/fulltest.sh (modified) (2 diffs)
-
test/mkgpc1data.dvo (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/config/ippToPspsDbSchema.sql
r37927 r38823 223 223 -- i had to do this to get uniqueness prob sorted out: 224 224 225 -- show index from pending;226 -- alter table pending drop index `name`;227 -- where name was broken becaue it only indedxed stage idg225 -- show index from pending; 226 -- alter table pending drop index `name`; 227 -- where name was broken becaue it only indedxed stage idg 228 228 229 229 DROP TABLE IF EXISTS `pending`; -
trunk/ippToPsps/configure.ac
r35216 r38823 9 9 AM_MAINTAINER_MODE 10 10 11 IPP_STDLDFLAGS11 dnl IPP_STDLDFLAGS 12 12 13 13 AC_LANG(C) … … 20 20 dnl ------------------------------------------------------------ 21 21 22 AC_PATH_PROG([ERRORCODES], [psParseErrorCodes], [missing])23 if test "$ERRORCODES" = "missing" ; then24 AC_MSG_ERROR([psParseErrorCodes is required])25 fi22 dnl AC_PATH_PROG([ERRORCODES], [psParseErrorCodes], [missing]) 23 dnl if test "$ERRORCODES" = "missing" ; then 24 dnl AC_MSG_ERROR([psParseErrorCodes is required]) 25 dnl fi 26 26 27 27 dnl ------------- psLib, psModules --------------- 28 PKG_CHECK_MODULES([PSLIB], [pslib >= 1.0.0])29 PKG_CHECK_MODULES([PSMODULE], [psmodules >= 1.0.0])28 dnl PKG_CHECK_MODULES([PSLIB], [pslib >= 1.0.0]) 29 dnl PKG_CHECK_MODULES([PSMODULE], [psmodules >= 1.0.0]) 30 30 31 31 dnl Set CFLAGS for build 32 IPP_STDOPTS 33 IPP_STDCFLAGS 32 dnl IPP_STDOPTS 33 dnl IPP_STDCFLAGS 34 34 35 dnl CFLAGS="${CFLAGS=} -Wall -Werror" 35 echo "IPPTOPSPS_CFLAGS: $IPPTOPSPS_CFLAGS" 36 echo "IPPTOPSPS_LIBS: $IPPTOPSPS_LIBS" 36 dnl echo "IPPTOPSPS_CFLAGS: $IPPTOPSPS_CFLAGS" 37 dnl echo "IPPTOPSPS_LIBS: $IPPTOPSPS_LIBS" 38 dnl 39 dnl OHANA_CFLAGS="`ohana-config --cflags`" 40 dnl OHANA_LIBS="`ohana-config --libs` -lX11" 37 41 38 OHANA_CFLAGS="`ohana-config --cflags`" 39 OHANA_LIBS="`ohana-config --libs` -lX11" 40 41 IPP_VERSION 42 43 AC_SUBST([IPPTOPSPS_CFLAGS]) 44 AC_SUBST([IPPTOPSPS_LIBS]) 42 dnl IPP_VERSION 43 dnl 44 dnl AC_SUBST([IPPTOPSPS_CFLAGS]) 45 dnl AC_SUBST([IPPTOPSPS_LIBS]) 45 46 46 47 AC_CONFIG_FILES([ … … 50 51 jython/Makefile 51 52 perl/Makefile 52 src/Makefile53 53 Doxyfile 54 54 ]) 55 55 56 dnl src/Makefile 57 56 58 AC_OUTPUT -
trunk/ippToPsps/jython/ippjython
r37433 r38823 20 20 setenv IPPTOPSPS_DATA $datadir/ipptopsps 21 21 22 # XXX install jython in JARDIR 23 set JYTHON = $JARDIR/jython2.5.3b1/jython.jar 24 # set JYTHON = ~/jython2.5.3b1/jython.jar 25 #set JYTHON = $JARDIR/jython.jar 22 # both jython.jar and Lib from jython2.5.3b1 must be installed in JARDIR 23 set JYTHON = $JARDIR/jython.jar 26 24 27 25 if (! -r $JYTHON) then 28 26 echo "jython jar file not found, check jython installation" 29 27 echo $JYTHON 28 echo "*** ask gene for help! ***" 29 echo " here is the jardir:" 30 ls -l $JARDIR 30 31 exit 2 31 32 endif -
trunk/ippToPsps/jython/scratchdb.py
r38794 r38823 495 495 # now detection table 496 496 self.logger.infoPair("Dropping DVO table", dvoDetectionTable) 497 sql = "DROP TABLE " + dvoDetectionTable 497 sql = "DROP TABLE " + dvoDetectionTable + " IF EXISTS" 498 498 try: self.execute(sql) 499 499 except: -
trunk/ippToPsps/perl/Makefile.am
r36190 r38823 1 bin_SCRIPTS = checkOdmStatus.pl convertPhotCodesToXml.pl deleteFromDXLayer.pl pspsSchema2xml.pl deleteFromDXLayer2.pl 1 bin_SCRIPTS = \ 2 checkOdmStatus.pl \ 3 convertPhotCodesToXml.pl \ 4 deleteFromDXLayer.pl \ 5 pspsSchema2xml.pl \ 6 deleteFromDXLayer2.pl 2 7 3 8 INSTALL = @INSTALL@ -C -
trunk/ippToPsps/test/fulltest.sh
r37246 r38823 156 156 # does the database already exist? 157 157 # XXX this command will blow away an existing database!! 158 mysql -h localhost -u dvo -pdvo -e "create database i pptopsps_test"159 mysql -h localhost -u dvo -pdvo ipptopsps_test < $IPPTOPSPS_DATA/ippToPspsDbSchema.sql 158 mysql -h localhost -u dvo -pdvo -e "create database if not exists ipptopsps_test" || exit 3 159 mysql -h localhost -u dvo -pdvo ipptopsps_test < $IPPTOPSPS_DATA/ippToPspsDbSchema.sql || exit 2 160 160 endif 161 161 … … 166 166 167 167 # create the database (ignore failure if it already exists) 168 mysql -h localhost -u dvo -pdvo -e "drop database i pptopsps_test_scratch"168 mysql -h localhost -u dvo -pdvo -e "drop database if exists ipptopsps_test_scratch" 169 169 mysql -h localhost -u dvo -pdvo -e "create database ipptopsps_test_scratch" 170 170 ippjython setupScratchDb.py -test < /dev/null -
trunk/ippToPsps/test/mkgpc1data.dvo
r37246 r38823 147 147 148 148 mkinput $offset $rawfile 149 echo mkcmf -photcode SIMTEST.r.Chip -no-noise -append $rawfile $cmffile -date $myDATE -time $myTIME -radec $RA $DEC -type $1 -imageID $ID -sourceID 0 149 150 exec mkcmf -photcode SIMTEST.r.Chip -no-noise -append $rawfile $cmffile -date $myDATE -time $myTIME -radec $RA $DEC -type $1 -imageID $ID -sourceID 0 150 151
Note:
See TracChangeset
for help on using the changeset viewer.
