Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/c/e/CellProfiler-HEAD/BatchProfiler/DeleteFile.py   CellProfiler(Download)
elif form.has_key("batch_id"):
    batch_id = int(form["batch_id"].value)
    my_batch = RunBatch.LoadBatch(batch_id)
    for my_run in my_batch["runs"]:
        if ((delete_action.upper() == "ALL") or (delete_action.upper() == "TEXT")):

src/c/e/CellProfiler-HEAD/BatchProfiler/ViewBatch.py   CellProfiler(Download)
form = cgi.FieldStorage()
batch_id = int(form["batch_id"].value)
my_batch = RunBatch.LoadBatch(batch_id)
jobs_by_state = {}
 

src/c/e/CellProfiler-HEAD/BatchProfiler/FixPermissions.py   CellProfiler(Download)
form = cgi.FieldStorage()
batch_id = int(form["batch_id"].value)
my_batch = RunBatch.LoadBatch(batch_id)
status_dir = "%(data_dir)s/status/"%(my_batch)
txt_output_dir = "%(data_dir)s/txt_output/"%(my_batch)

src/c/e/CellProfiler-HEAD/BatchProfiler/UploadToDatabase.py   CellProfiler(Download)
output_file = form["output_file"].value
queue = (form.has_key("queue") and form["queue"].value) or None
my_batch = RunBatch.LoadBatch(batch_id)
 
re_load_line = re.compile("'(.+?)[0-9]+_[0-9]+_(Image|Object).CSV'\sREPLACE\sINTO\sTABLE\s([A-Za-z0-9_]+)\s")

src/c/e/CellProfiler-HEAD/BatchProfiler/GetPipeline.py   CellProfiler(Download)
form = cgi.FieldStorage()
batch_id = int(form["batch_id"].value)
my_batch = RunBatch.LoadBatch(batch_id)
path = os.path.join(my_batch["data_dir"], F_BATCH_DATA_H5)
h = HDF5Dict(path, mode="r")