rcdb 2.3.1__tar.gz → 2.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rcdb-2.3.1/rcdb.egg-info → rcdb-2.3.2}/PKG-INFO +4 -1
- {rcdb-2.3.1 → rcdb-2.3.2}/pyproject.toml +4 -1
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/app_context.py +12 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/cli/app.py +6 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/provider.py +12 -2
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/version.py +1 -1
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/modules/select_values.py +10 -3
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/select_values/index.html +51 -3
- {rcdb-2.3.1 → rcdb-2.3.2/rcdb.egg-info}/PKG-INFO +4 -1
- {rcdb-2.3.1 → rcdb-2.3.2}/MANIFEST.in +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/README.md +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/__init__.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/__main__.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/alias.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/cli/__init__.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/cli/__main__.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/cli/add.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/cli/context.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/cli/db.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/cli/file.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/cli/info.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/cli/ls.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/cli/repair/__init__.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/cli/repair/evio_files.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/cli/rp.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/cli/run.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/cli/select.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/cli/test_data.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/cli/web.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/coda_parser.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/config_parser.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/constants.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/errors.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/file_archiver.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/halld_daq_config_parser.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/lexer.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/log_format.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/model.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/stopwatch.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/update.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/__init__.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/__main__.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/modules/__init__.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/modules/conditions.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/modules/files.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/modules/logs.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/modules/runs.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/modules/statistics.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/pagination.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/run_table.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/css/dataTables.bootstrap.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/css/dataTables.bootstrap.min.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/css/dataTables.foundation.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/css/dataTables.foundation.min.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/css/dataTables.jqueryui.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/css/dataTables.jqueryui.min.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/css/jquery.dataTables.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/css/jquery.dataTables.min.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/css/jquery.dataTables_themeroller.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/images/sort_asc.png +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/images/sort_asc_disabled.png +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/images/sort_both.png +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/images/sort_desc.png +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/images/sort_desc_disabled.png +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/js/dataTables.bootstrap.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/js/dataTables.bootstrap.min.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/js/dataTables.foundation.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/js/dataTables.foundation.min.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/js/dataTables.jqueryui.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/js/dataTables.jqueryui.min.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/js/jquery.dataTables.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/js/jquery.dataTables.min.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/Responsive-2.0.0/css/responsive.bootstrap.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/Responsive-2.0.0/css/responsive.bootstrap.min.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/Responsive-2.0.0/css/responsive.dataTables.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/Responsive-2.0.0/css/responsive.dataTables.min.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/Responsive-2.0.0/css/responsive.foundation.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/Responsive-2.0.0/css/responsive.foundation.min.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/Responsive-2.0.0/css/responsive.jqueryui.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/Responsive-2.0.0/css/responsive.jqueryui.min.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/Responsive-2.0.0/js/dataTables.responsive.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/Responsive-2.0.0/js/dataTables.responsive.min.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/Responsive-2.0.0/js/responsive.bootstrap.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/Responsive-2.0.0/js/responsive.bootstrap.min.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/Responsive-2.0.0/js/responsive.foundation.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/Responsive-2.0.0/js/responsive.foundation.min.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/Responsive-2.0.0/js/responsive.jqueryui.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/Responsive-2.0.0/js/responsive.jqueryui.min.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/RowReorder-1.1.0/css/rowReorder.bootstrap.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/RowReorder-1.1.0/css/rowReorder.bootstrap.min.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/RowReorder-1.1.0/css/rowReorder.dataTables.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/RowReorder-1.1.0/css/rowReorder.dataTables.min.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/RowReorder-1.1.0/css/rowReorder.foundation.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/RowReorder-1.1.0/css/rowReorder.foundation.min.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/RowReorder-1.1.0/css/rowReorder.jqueryui.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/RowReorder-1.1.0/css/rowReorder.jqueryui.min.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/RowReorder-1.1.0/js/dataTables.rowReorder.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/RowReorder-1.1.0/js/dataTables.rowReorder.min.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/datatables.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/datatables.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/datatables.min.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/datatables.min.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/css/bootstrap-theme.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/css/bootstrap-theme.css.map +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/css/bootstrap-theme.min.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/css/bootstrap-theme.min.css.map +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/css/bootstrap.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/css/bootstrap.css.map +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/css/bootstrap.min.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/css/bootstrap.min.css.map +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/css/buttons.dataTables.min.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/css/dataTables.tableTools.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/css/jquery-ui.min.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/css/jquery-ui.structure.min.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/css/jquery-ui.theme.min.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/css/jquery.dataTables.min.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/css/jquery.dataTables.yadcf.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/css/jquery.jsonview.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/css/main.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/css/select.dataTables.min.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/css/webintellisense.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/favicon.png +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/fonts/glyphicons-halflings-regular.eot +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/fonts/glyphicons-halflings-regular.svg +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/fonts/glyphicons-halflings-regular.ttf +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/fonts/glyphicons-halflings-regular.woff +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/fonts/glyphicons-halflings-regular.woff2 +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/humans.txt +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/img/glyphicons-halflings-white.png +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/img/glyphicons-halflings.png +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/img/logo.png +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/js/bootstrap.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/js/bootstrap.min.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/js/clipboard.min.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/js/copy_clipboard.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/js/dataTables.buttons.min.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/js/dataTables.select.min.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/js/jquery-2.1.0.min.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/js/jquery-2.1.4.min.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/js/jquery-ui.min.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/js/jquery.dataTables.min.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/js/jquery.dataTables.yadcf.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/js/jquery.flot.min.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/js/jquery.jsonview.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/js/npm.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/js/webintellisense-ace.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/js/webintellisense-codemirror.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/js/webintellisense-textbox.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/js/webintellisense.js +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/robots.txt +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/style.css +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/404.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/admin/index.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/admin/layout.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/admin/user.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/admin/users.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/conditions/index.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/custom_column_run_table.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/default_run_table.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/errors/forbidden_page.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/errors/layout.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/errors/page_not_found.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/errors/server_error.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/files/index.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/files/info.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/files/not_found.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/frontend/create_profile.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/frontend/footers/help.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/frontend/login.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/frontend/login_openid.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/frontend/reauth.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/frontend/reset_password.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/frontend/search.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/frontend/signup.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/index.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/layout.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/layouts/base.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/layouts/base2.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/login.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/logs/index.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/macros/_ask_user_to_update_ie.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/macros/_form.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/macros/_google_analytics.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/macros/_misc.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/macros/_reset_password.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/render_pagination.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/run_search_box.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/runs/conditions.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/runs/example.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/runs/index.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/runs/info.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/runs/not_found.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/settings/layout.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/settings/password.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/settings/profile.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/show_entries.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/statistics/index.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/user/index.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/templates/user/profile.html +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb.egg-info/SOURCES.txt +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb.egg-info/dependency_links.txt +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb.egg-info/entry_points.txt +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb.egg-info/requires.txt +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/rcdb.egg-info/top_level.txt +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/setup.cfg +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/tests/test_cli_add_condition.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/tests/test_cli_add_file.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/tests/test_cli_add_type.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/tests/test_cli_file.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/tests/test_cli_run.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/tests/test_coda_parser.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/tests/test_conditions.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/tests/test_config_parser.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/tests/test_get_run_periods.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/tests/test_get_runs.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/tests/test_halld_run_config_parser.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/tests/test_save_files.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/tests/test_select_runs.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/tests/test_select_values.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/tests/test_sql_schema_version.py +0 -0
- {rcdb-2.3.1 → rcdb-2.3.2}/tests/test_value_comparison.py +0 -0
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rcdb
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.2
|
|
4
4
|
Summary: RCDB - Run Conditions DataBase
|
|
5
5
|
Author-email: Dmitry Romanov <romanov@jlab.org>
|
|
6
6
|
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/JeffersonLab/rcdb
|
|
8
|
+
Project-URL: Documentation, https://jeffersonlab.github.io/rcdb
|
|
9
|
+
Project-URL: Repository, https://github.com/JeffersonLab/rcdb.git
|
|
7
10
|
Classifier: Development Status :: 5 - Production/Stable
|
|
8
11
|
Classifier: Programming Language :: Python :: 3
|
|
9
12
|
Classifier: Programming Language :: Python :: 3.9
|
|
@@ -50,8 +50,11 @@ dependencies = [
|
|
|
50
50
|
examples = ["jsonpickle", "pandas"]
|
|
51
51
|
dev = ["pyflakes>=3"]
|
|
52
52
|
|
|
53
|
+
[project.urls]
|
|
54
|
+
Homepage = "https://github.com/JeffersonLab/rcdb"
|
|
55
|
+
Documentation = "https://jeffersonlab.github.io/rcdb"
|
|
56
|
+
Repository = "https://github.com/JeffersonLab/rcdb.git"
|
|
53
57
|
|
|
54
|
-
# If you want a console script, define it in [project.scripts]
|
|
55
58
|
[project.scripts]
|
|
56
59
|
rcdb = "rcdb.cli.app:rcdb_cli"
|
|
57
60
|
|
|
@@ -19,6 +19,18 @@ class RcdbApplicationContext(object):
|
|
|
19
19
|
self._db_instance = RCDBProvider(self.connection_str)
|
|
20
20
|
return self._db_instance
|
|
21
21
|
|
|
22
|
+
def close(self):
|
|
23
|
+
"""Disconnect the database if one was opened.
|
|
24
|
+
|
|
25
|
+
Safe to call when no connection was ever made. The CLI registers this on
|
|
26
|
+
the Click context so the engine is disposed deterministically when the
|
|
27
|
+
command finishes, instead of waiting for garbage collection (which on
|
|
28
|
+
Python 3.13+ leaks a ``ResourceWarning: unclosed database``).
|
|
29
|
+
"""
|
|
30
|
+
if self._db_instance is not None:
|
|
31
|
+
self._db_instance.disconnect()
|
|
32
|
+
self._db_instance = None
|
|
33
|
+
|
|
22
34
|
def require_connected_db(self) -> RCDBProvider:
|
|
23
35
|
"""Return the RCDBProvider, or fail with a clear CLI error if no connection was given.
|
|
24
36
|
|
|
@@ -60,6 +60,12 @@ def rcdb_cli(ctx, user_config, connection, config, verbose):
|
|
|
60
60
|
for key, value in config:
|
|
61
61
|
ctx.obj.set_config(key, value)
|
|
62
62
|
|
|
63
|
+
# Dispose the DB engine deterministically when the command finishes, rather
|
|
64
|
+
# than leaving it to garbage collection. On Python 3.13+ a lingering, GC'd
|
|
65
|
+
# SQLite connection emits "ResourceWarning: unclosed database" at an
|
|
66
|
+
# unpredictable time, which can leak into command output captured by tests.
|
|
67
|
+
ctx.call_on_close(ctx.obj.close)
|
|
68
|
+
|
|
63
69
|
# Bo commands given
|
|
64
70
|
if ctx.invoked_subcommand is None:
|
|
65
71
|
# There is a connection but no subcommand
|
|
@@ -150,9 +150,19 @@ class RCDBProvider(object):
|
|
|
150
150
|
# Closes connection to data
|
|
151
151
|
# ------------------------------------------------
|
|
152
152
|
def disconnect(self):
|
|
153
|
-
"""Closes connection to database
|
|
153
|
+
"""Closes connection to database.
|
|
154
|
+
|
|
155
|
+
Closes the ORM session and disposes the SQLAlchemy engine so the
|
|
156
|
+
underlying connection pool releases its DBAPI connections. Without the
|
|
157
|
+
``engine.dispose()`` the pooled SQLite/MySQL connection stays open until
|
|
158
|
+
the engine is garbage collected, which on Python 3.13+ surfaces as a
|
|
159
|
+
``ResourceWarning: unclosed database`` at an unpredictable time.
|
|
160
|
+
"""
|
|
154
161
|
self._is_connected = False
|
|
155
|
-
self.session
|
|
162
|
+
if self.session is not None:
|
|
163
|
+
self.session.close()
|
|
164
|
+
if self.engine is not None:
|
|
165
|
+
self.engine.dispose()
|
|
156
166
|
|
|
157
167
|
# -------------------------------------------------
|
|
158
168
|
# indicates ether the connection is open or not
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
|
|
1
3
|
from flask import Blueprint, request, render_template, flash, g, redirect, url_for
|
|
2
4
|
from sqlalchemy import desc
|
|
3
5
|
|
|
@@ -22,16 +24,21 @@ def index():
|
|
|
22
24
|
# Handle search request
|
|
23
25
|
search_query = request.args.get('q', '')
|
|
24
26
|
run_range = request.args.get('rr', '')
|
|
25
|
-
|
|
27
|
+
# Drop blanks so an empty field or trailing comma doesn't become a bogus condition name
|
|
28
|
+
req_conditions_values = [name.strip() for name in req_conditions_str.split(',') if name.strip()]
|
|
26
29
|
|
|
27
30
|
if run_from_str or run_to_str:
|
|
28
31
|
run_range = run_from_str + "-" + run_to_str
|
|
29
32
|
|
|
30
33
|
run_from, run_to = _parse_run_range(run_range)
|
|
31
34
|
|
|
35
|
+
# An empty field means "no bound" - map it to the full run range the API expects
|
|
36
|
+
run_min = run_from if run_from is not None else 0
|
|
37
|
+
run_max = run_to if run_to is not None else sys.maxsize
|
|
38
|
+
|
|
32
39
|
try:
|
|
33
|
-
table = g.tdb.select_values(val_names=req_conditions_values, search_str=search_query, run_min=
|
|
34
|
-
run_max=
|
|
40
|
+
table = g.tdb.select_values(val_names=req_conditions_values, search_str=search_query, run_min=run_min,
|
|
41
|
+
run_max=run_max, sort_desc=True)
|
|
35
42
|
except Exception as err:
|
|
36
43
|
flash("Error in performing request: {}".format(err), 'danger')
|
|
37
44
|
return redirect(url_for('select_values.index'))
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<div class="container">
|
|
11
11
|
|
|
12
12
|
<div class="blog-header"><h3 class="blog-title">Custom table</h3></div>
|
|
13
|
-
<div class="hidden-table">
|
|
13
|
+
<div class="hidden-table hidden">
|
|
14
14
|
<form id="condition-form">
|
|
15
15
|
<table class="table condition-table">
|
|
16
16
|
<tr>
|
|
@@ -33,7 +33,12 @@
|
|
|
33
33
|
</div>
|
|
34
34
|
<div class="row">
|
|
35
35
|
<div class="col-md-4">
|
|
36
|
-
|
|
36
|
+
{% if table %}
|
|
37
|
+
<button id="export-csv-btn" type="button" class="btn btn-default btn-sm" style="margin-bottom: 10px;">
|
|
38
|
+
<span class="glyphicon glyphicon-download-alt" aria-hidden="true"></span> Export to CSV
|
|
39
|
+
</button>
|
|
40
|
+
{% endif %}
|
|
41
|
+
<table id="results-table" class="table">
|
|
37
42
|
<thead>
|
|
38
43
|
<tr>
|
|
39
44
|
<th>Run</th>
|
|
@@ -113,7 +118,50 @@
|
|
|
113
118
|
});
|
|
114
119
|
});
|
|
115
120
|
|
|
116
|
-
|
|
121
|
+
// Wrap a CSV field in quotes when it contains a comma, quote or newline
|
|
122
|
+
function csvEscape(value) {
|
|
123
|
+
value = (value === null || value === undefined) ? '' : String(value);
|
|
124
|
+
if (/[",\n\r]/.test(value)) {
|
|
125
|
+
value = '"' + value.replace(/"/g, '""') + '"';
|
|
126
|
+
}
|
|
127
|
+
return value;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
function tableToCsv(table) {
|
|
131
|
+
var lines = [];
|
|
132
|
+
var rows = table.querySelectorAll('tr');
|
|
133
|
+
for (var i = 0; i < rows.length; i++) {
|
|
134
|
+
var cells = rows[i].querySelectorAll('th, td');
|
|
135
|
+
var fields = [];
|
|
136
|
+
for (var j = 0; j < cells.length; j++) {
|
|
137
|
+
fields.push(csvEscape(cells[j].textContent.trim()));
|
|
138
|
+
}
|
|
139
|
+
lines.push(fields.join(','));
|
|
140
|
+
}
|
|
141
|
+
return lines.join('\r\n');
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
function exportCsv() {
|
|
145
|
+
var table = document.getElementById('results-table');
|
|
146
|
+
if (!table) return;
|
|
147
|
+
|
|
148
|
+
var csv = tableToCsv(table);
|
|
149
|
+
var blob = new Blob([csv], {type: 'text/csv;charset=utf-8;'});
|
|
150
|
+
var url = URL.createObjectURL(blob);
|
|
151
|
+
|
|
152
|
+
var link = document.createElement('a');
|
|
153
|
+
link.href = url;
|
|
154
|
+
link.download = 'rcdb_select_values.csv';
|
|
155
|
+
document.body.appendChild(link);
|
|
156
|
+
link.click();
|
|
157
|
+
document.body.removeChild(link);
|
|
158
|
+
URL.revokeObjectURL(url);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
var exportBtn = document.getElementById('export-csv-btn');
|
|
162
|
+
if (exportBtn) {
|
|
163
|
+
exportBtn.addEventListener('click', exportCsv);
|
|
164
|
+
}
|
|
117
165
|
|
|
118
166
|
</script>
|
|
119
167
|
{{ search_box.run_search_box_scripts(condition_types, run_periods) }}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rcdb
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.2
|
|
4
4
|
Summary: RCDB - Run Conditions DataBase
|
|
5
5
|
Author-email: Dmitry Romanov <romanov@jlab.org>
|
|
6
6
|
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/JeffersonLab/rcdb
|
|
8
|
+
Project-URL: Documentation, https://jeffersonlab.github.io/rcdb
|
|
9
|
+
Project-URL: Repository, https://github.com/JeffersonLab/rcdb.git
|
|
7
10
|
Classifier: Development Status :: 5 - Production/Stable
|
|
8
11
|
Classifier: Programming Language :: Python :: 3
|
|
9
12
|
Classifier: Programming Language :: Python :: 3.9
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/css/dataTables.bootstrap.css
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/css/dataTables.jqueryui.css
RENAMED
|
File without changes
|
|
File without changes
|
{rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/css/jquery.dataTables.css
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/images/sort_asc_disabled.png
RENAMED
|
File without changes
|
{rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/images/sort_both.png
RENAMED
|
File without changes
|
{rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/images/sort_desc.png
RENAMED
|
File without changes
|
|
File without changes
|
{rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/js/dataTables.bootstrap.js
RENAMED
|
File without changes
|
|
File without changes
|
{rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/js/dataTables.foundation.js
RENAMED
|
File without changes
|
|
File without changes
|
{rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/js/dataTables.jqueryui.js
RENAMED
|
File without changes
|
|
File without changes
|
{rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/js/jquery.dataTables.js
RENAMED
|
File without changes
|
{rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/DataTables-1.10.10/js/jquery.dataTables.min.js
RENAMED
|
File without changes
|
{rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/Responsive-2.0.0/css/responsive.bootstrap.css
RENAMED
|
File without changes
|
|
File without changes
|
{rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/Responsive-2.0.0/css/responsive.dataTables.css
RENAMED
|
File without changes
|
|
File without changes
|
{rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/Responsive-2.0.0/css/responsive.foundation.css
RENAMED
|
File without changes
|
|
File without changes
|
{rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/Responsive-2.0.0/css/responsive.jqueryui.css
RENAMED
|
File without changes
|
|
File without changes
|
{rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/Responsive-2.0.0/js/dataTables.responsive.js
RENAMED
|
File without changes
|
|
File without changes
|
{rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/Responsive-2.0.0/js/responsive.bootstrap.js
RENAMED
|
File without changes
|
{rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/Responsive-2.0.0/js/responsive.bootstrap.min.js
RENAMED
|
File without changes
|
{rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/Responsive-2.0.0/js/responsive.foundation.js
RENAMED
|
File without changes
|
|
File without changes
|
{rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/Responsive-2.0.0/js/responsive.jqueryui.js
RENAMED
|
File without changes
|
{rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/Responsive-2.0.0/js/responsive.jqueryui.min.js
RENAMED
|
File without changes
|
{rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/RowReorder-1.1.0/css/rowReorder.bootstrap.css
RENAMED
|
File without changes
|
|
File without changes
|
{rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/RowReorder-1.1.0/css/rowReorder.dataTables.css
RENAMED
|
File without changes
|
|
File without changes
|
{rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/RowReorder-1.1.0/css/rowReorder.foundation.css
RENAMED
|
File without changes
|
|
File without changes
|
{rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/RowReorder-1.1.0/css/rowReorder.jqueryui.css
RENAMED
|
File without changes
|
|
File without changes
|
{rcdb-2.3.1 → rcdb-2.3.2}/rcdb/web/static/DataTables/RowReorder-1.1.0/js/dataTables.rowReorder.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|