
detRunDef MULTI

# add in the min number of input images and a time range
detRunDef METADATA
  detRunName STR BIAS
  prereq     STR NONE
  options    STR "-definebyquery -workdir path://EAMWORK -inst SIMTEST -det_type BIAS -select_exp_type BIAS"
  dbname     STR eamtest
  pantaskState STR NULL
END

detRunDef METADATA
  detRunName STR DARK
  prereq     STR BIAS
  options    STR "-definebyquery -workdir path://EAMWORK -inst SIMTEST -det_type DARK -select_exp_type DARK"
  dbname     STR eamtest
  pantaskState STR NULL
END

detRunDef METADATA
  detRunName STR SHUTTER
  prereq     STR DARK
  options    STR "-definebyquery -workdir path://EAMWORK -inst SIMTEST -det_type SHUTTER -filter r -select_exp_type FLAT -select_filter r"
  dbname     STR eamtest
  pantaskState STR NULL
END

detRunDef METADATA
  detRunName STR FLAT-r
  prereq     STR SHUTTER
  options    STR "-definebyquery -workdir path://EAMWORK -inst SIMTEST -det_type FLAT -filter r -select_exp_type FLAT -select_filter r"
  dbname     STR eamtest
  pantaskState STR NULL
END

detRunDef METADATA
  detRunName STR FLAT-i
  prereq     STR SHUTTER
  options    STR "-definebyquery -workdir path://EAMWORK -inst SIMTEST -det_type FLAT -filter i -select_exp_type FLAT -select_filter i"
  dbname     STR eamtest
  pantaskState STR NULL
END
