def DA_PNG(): from .plots.data_availability import main output = BytesIO() main(show=False, outfile=output) output.seek(0) return flask.Response(output.read(), mimetype="image/png")
def bugreporter(): from .bugreport import main output = main(modules=True, show=False) o = json.dumps(output) db.close() return flask.Response(o, mimetype='application/json')
def new_jobsTRIG(): from s02new_jobs import main count = main() global db db.flush() db.commit() o = {} o['count'] = count o = json.dumps(o) return flask.Response(o, mimetype='application/json')
def new_jobsTRIG(): from s02new_jobs import main count = main() global db db.flush() db.commit() o = {} o['count']=count o = json.dumps(o) return flask.Response(o, mimetype='application/json')
def DA_PNG(): from .plots.data_availability import main output = BytesIO() main(show=False, outfile=output) output.seek(0) return flask.Response(output.read(), mimetype='image/png')