Skip to content

Commit

Permalink
Merge branch 'dev0.9' of https://github.com/JeffersonLab/rcdb into de…
Browse files Browse the repository at this point in the history
…v0.9
  • Loading branch information
sqrd-max committed Dec 7, 2023
2 parents e3dd627 + 92cd7e5 commit b2d1ca5
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions rcdb_web/select_values/veiws.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,14 @@
import json
import re
import sys

from flask import Blueprint, request, render_template, flash, g, session, redirect, url_for
# from werkzeug import check_password_hash, generate_password_hash
import rcdb
from collections import defaultdict
from rcdb.model import Run, Condition, ConditionType, RunPeriod
from sqlalchemy.orm import subqueryload

from rcdb.provider import RCDBProvider
from flask import Blueprint, request, render_template, flash, g, redirect, url_for
from rcdb.model import ConditionType
from runs.views import _parse_run_range

mod = Blueprint('select_values', __name__, url_prefix='/select_values')

# rcdb/select_value

@mod.route('/', methods=['GET'])
def index():
# noinspection PyUnresolvedReferences
all_conditions = g.tdb.session.query(ConditionType).order_by(ConditionType.name.asc()).all()
run_periods = g.tdb.session.query(RunPeriod).all()

Expand Down

0 comments on commit b2d1ca5

Please sign in to comment.