def specimen_view(specimen_id=None): data = {'pageTitle': 'Specimen Page'} data.update( specimen.get_detail_view_data(search.get_scan_data(specimen_id))) return mustache_render('specimen.mustache', data)
def get_scan(): id = request.args.get('id', None) return jsonify(get_scan_data(id))
def specimen_view(specimen_id=None): data = { 'pageTitle': 'Specimen Page' } data.update(specimen.get_detail_view_data(search.get_scan_data(specimen_id))) return mustache_render('specimen.mustache', data)