This repository was archived by the owner on May 21, 2026. It is now read-only.
Repository navigation
Python Wrapper
Siqi Tian edited this page Jul 3, 2016
·
7 revisions
Handles design run submissions.
- It parses and tests the inputs, spawns a job in background using threading.Thread, and adds JOB_ID to database.
- It creates a waiting page HTML for display.
- A JSON response is returned for page refreshing, while the threaded job runs in parallel.
- It creates a error, or fail, or success page HTML for display, overwriting the previous waiting page.
- It renders a graphical HTML result page by parsing the result instance from
primerize. - It updates the JOB_ID entry in MySQL of its status, time and results.
For 2D and 3D:
- The result folder is zipped using zipfile in python.
- A JSON file is saved for d3.js 96-well plate drawing. Wild-Type primers are overridden by color green.
New Admin Setup
Admin Responsibility
Server Environment
Overview
Linux
Python