IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 26, 2015, 5:17:19 PM (11 years ago)
Author:
watersc1
Message:

Dropping ra/dec fields from ForcedGalaxyShape, as these are inherited from the stack detection, and should be fixed to those values (as it's forced). 'Complete' version of the forcedgalaxybatch.py, which has all the things similar tables also have.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/test/sastest.sh

    r37246 r38963  
    11#!/bin/csh -f
     2
     3set dbuser = czw
     4set dbpass = -pczw
    25
    36chmod +x mksasdata.dvo mkgpc1.sh
     
    157160  # does the database already exist?
    158161  # XXX this command will blow away an existing database!!
    159   mysql -h localhost -u dvo -pdvo -e "create database ipptopsps_test"
    160   mysql -h localhost -u dvo -pdvo ipptopsps_test < $IPPTOPSPS_DATA/ippToPspsDbSchema.sql
     162  mysql -h localhost -u $dbuser $dbpass -e "create database ipptopsps_test"
     163  mysql -h localhost -u $dbuser $dbpass ipptopsps_test < $IPPTOPSPS_DATA/ippToPspsDbSchema.sql
    161164endif
    162165
     
    165168
    166169  # create the database (ignore failure if it already exists)
    167   mysql -h localhost -u dvo -pdvo -e "drop database ipptopsps_scratch"
    168   mysql -h localhost -u dvo -pdvo -e "create database ipptopsps_scratch"
     170  mysql -h localhost -u $dbuser $dbpass -e "drop database ipptopsps_scratch"
     171  mysql -h localhost -u $dbuser $dbpass -e "create database ipptopsps_scratch"
    169172  ippjython setupScratchDb.py -test < /dev/null
    170173  if ($status) exit
Note: See TracChangeset for help on using the changeset viewer.