def betterPlace(): massCutOffStr = request.args.get('featureModifier') try: featureMod = float(featureModifier) except: featureMod = 1.0 img = ShowImpactFactors.betterPlace(featureMod) return send_file(img, mimetype='image/png')
def cDir(): messages = [] messages.append(ShowImpactFactors.currentDirectory()) return render_template('debug.html', messages=messages)
def showGoogleNewsTrendDiff(): img = ShowImpactFactors.googleNewsTrendDiff() return send_file(img, mimetype='image/png')
def showImpactFactorsPlot(): img = ShowImpactFactors.impactBarGraph(0) return send_file(img, mimetype='image/png')
def cDir(): messages = [] messages.append( ShowImpactFactors.currentDirectory() ) return render_template('debug.html', messages = messages)