Changeset 18757
- Timestamp:
- 02/11/17 21:44:39 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Processing/BuildSequences.sh
r18252 r18757 30 30 esac 31 31 32 # update run counts in SequenceInfo table 33 # runs in sequence 34 query="UPDATE SequenceInfo LEFT JOIN RunInfo USING(fNight, fSequenceID) " 35 query=$query"SET fNumRuns=(SELECT COUNT(*) FROM RunInfo " 36 query=$query"WHERE fSequenceID=SequenceInfo.fSequenceID AND fNight=SequenceInfo.fNight) " 37 printprocesslog "INFO Updating SequenceInfo with number of runs." 38 sendquery 39 # raw files avail ISDC 40 query="UPDATE SequenceInfo LEFT JOIN RunInfo USING(fNight, fSequenceID) " 41 query=$query"SET fNumRawfilesAvailISDC=(SELECT COUNT(*) FROM RunInfo " 42 query=$query"LEFT JOIN RawFileAvailISDCStatus USING(fNight, fRunID) " 43 query=$query"WHERE fSequenceID=SequenceInfo.fSequenceID AND fNight=SequenceInfo.fNight " 44 query=$query"AND NOT ISNULL(RawFileAvailISDCStatus.fStartTime) " 45 query=$query"AND NOT ISNULL(RawFileAvailISDCStatus.fStopTime) " 46 query=$query"AND ISNULL(RawFileAvailISDCStatus.fReturnCode)) " 47 printprocesslog "INFO Updating SequenceInfo with number of available files." 48 sendquery 49 32 50 finish 33 51
Note:
See TracChangeset
for help on using the changeset viewer.