169 Commits

Author SHA1 Message Date
GotthardG
35369fd13c Add column type mapping and enhance validation
Introduced a backend mapping for column expected types, improving validation and error handling. Updated UI to highlight default and corrected values, with additional detailed validation for data collection parameters.
2025-01-07 16:07:13 +01:00
GotthardG
92306fcfa6 Add column type mapping and enhance validation
Introduced a backend mapping for column expected types, improving validation and error handling. Updated UI to highlight default and corrected values, with additional detailed validation for data collection parameters.
2025-01-07 15:45:08 +01:00
GotthardG
54975b5919 Add spreadsheet enhancements and default handling
Implemented a toggleable spreadsheet UI component for sample data, added fields such as priority and comments, and improved backend validation. Default values for "directory" are now assigned when missing, with feedback highlighted in green on the front end.
2025-01-06 14:40:02 +01:00
GotthardG
27d2717a05 Refactor slot UI and backend refill logic.
Updated slot styling for improved user feedback and responsiveness. Simplified LN2 representation with a new level bar and adjusted refill logic to a 48-hour interval. Removed unused functions for cleaner backend code.
2024-12-20 13:20:45 +01:00
GotthardG
da5dbb9e31 Refactor puck handling and update tell position setting
Simplify and standardize puck name normalization and validation. Refactor `set_tell_positions` to handle batch operations, improve error handling, and provide detailed responses for each puck. Removed unnecessary `with-tell-position` endpoint for better clarity and maintainability.
2024-12-19 15:16:21 +01:00
GotthardG
14eaca81c6 Update tell position logic and add new endpoint
Refactored tell position logic to use `segment` and `puck_in_segment` fields, replacing the previous single `tell_position` field. Introduced a new `/set-tell-positions` endpoint for setting tell positions based on these changes and removed the deprecated endpoint handling the old logic. Enhanced validation and streamlined handling of related logistics and puck events.
2024-12-19 13:21:37 +01:00
GotthardG
deeee02211 Add example script for AareDB client usage
This script demonstrates various AareDB client API operations, including retrieving pucks, posting sample events, and fetching the last sample event. It serves as a reference for interacting with the AareDB system using Python.
2024-12-19 09:45:45 +01:00
GotthardG
ef981d1e45 Refactor OpenAPI fetcher for improved clarity and robustness
Reorganized and enhanced the OpenAPI fetch logic for better maintainability and error handling. Key updates include improved environment variable validation, more detailed error messages, streamlined configuration loading, and additional safety checks for file paths and directories. Added proper logging and ensured the process flow is easy to trace.
2024-12-18 14:22:37 +01:00
GotthardG
ea15dbb555 Refactor OpenAPI fetcher for improved clarity and robustness
Reorganized and enhanced the OpenAPI fetch logic for better maintainability and error handling. Key updates include improved environment variable validation, more detailed error messages, streamlined configuration loading, and additional safety checks for file paths and directories. Added proper logging and ensured the process flow is easy to trace.
2024-12-18 10:56:22 +01:00
GotthardG
7727467e29 Refactor OpenAPI fetcher for improved clarity and robustness
Reorganized and enhanced the OpenAPI fetch logic for better maintainability and error handling. Key updates include improved environment variable validation, more detailed error messages, streamlined configuration loading, and additional safety checks for file paths and directories. Added proper logging and ensured the process flow is easy to trace.
2024-12-18 07:57:51 +01:00
GotthardG
9b6ad107bb Refactor OpenAPI fetcher for improved clarity and robustness
Reorganized and enhanced the OpenAPI fetch logic for better maintainability and error handling. Key updates include improved environment variable validation, more detailed error messages, streamlined configuration loading, and additional safety checks for file paths and directories. Added proper logging and ensured the process flow is easy to trace.
2024-12-17 16:25:53 +01:00
GotthardG
dbf7864e7e Refactor OpenAPI fetcher for improved clarity and robustness
Reorganized and enhanced the OpenAPI fetch logic for better maintainability and error handling. Key updates include improved environment variable validation, more detailed error messages, streamlined configuration loading, and additional safety checks for file paths and directories. Added proper logging and ensured the process flow is easy to trace.
2024-12-17 16:16:54 +01:00
GotthardG
c77e579799 Refactor OpenAPI fetcher for improved clarity and robustness
Reorganized and enhanced the OpenAPI fetch logic for better maintainability and error handling. Key updates include improved environment variable validation, more detailed error messages, streamlined configuration loading, and additional safety checks for file paths and directories. Added proper logging and ensured the process flow is easy to trace.
2024-12-17 16:10:20 +01:00
GotthardG
f80e111f3b Refactor OpenAPI fetcher for improved clarity and robustness
Reorganized and enhanced the OpenAPI fetch logic for better maintainability and error handling. Key updates include improved environment variable validation, more detailed error messages, streamlined configuration loading, and additional safety checks for file paths and directories. Added proper logging and ensured the process flow is easy to trace.
2024-12-17 16:06:11 +01:00
GotthardG
25528811dc Refactor OpenAPI client script and backend server logic.
Simplify and streamline OpenAPI client generation and backend startup logic. Improved error handling, environment configuration, and self-signed SSL certificate management. Added support for generating OpenAPI schema via command-line argument.
2024-12-17 15:34:47 +01:00
GotthardG
bd2891fd20 Refactor OpenAPI client script and backend server logic.
Simplify and streamline OpenAPI client generation and backend startup logic. Improved error handling, environment configuration, and self-signed SSL certificate management. Added support for generating OpenAPI schema via command-line argument.
2024-12-17 14:59:51 +01:00
GotthardG
555b756cac Refactor OpenAPI client script and backend server logic.
Simplify and streamline OpenAPI client generation and backend startup logic. Improved error handling, environment configuration, and self-signed SSL certificate management. Added support for generating OpenAPI schema via command-line argument.
2024-12-17 14:57:49 +01:00
GotthardG
33e3a2d4df Refactor OpenAPI client script and backend server logic.
Simplify and streamline OpenAPI client generation and backend startup logic. Improved error handling, environment configuration, and self-signed SSL certificate management. Added support for generating OpenAPI schema via command-line argument.
2024-12-17 14:50:31 +01:00
GotthardG
19c5d7f880 Refactor environment-specific configurations and data loading.
Refactored database and server configuration to handle environments (dev, test, prod) explicitly, including tailored database setup and SSL management. Separated slot and sample data loading for better control during initialization. Improved environment variable usage and error handling for production certificates.
2024-12-17 13:11:26 +01:00
GotthardG
8cb2154740 Sync project metadata with pyproject.toml
Updated scripts and backend to dynamically retrieve project name and version from `pyproject.toml`. This ensures consistent metadata across the OpenAPI client generation and the FastAPI application.
2024-12-17 11:54:32 +01:00
GotthardG
455a22c7e6 Sync project metadata with pyproject.toml
Updated scripts and backend to dynamically retrieve project name and version from `pyproject.toml`. This ensures consistent metadata across the OpenAPI client generation and the FastAPI application.
2024-12-17 10:49:16 +01:00
GotthardG
c57d115683 Sync project metadata with pyproject.toml
Updated scripts and backend to dynamically retrieve project name and version from `pyproject.toml`. This ensures consistent metadata across the OpenAPI client generation and the FastAPI application.
2024-12-17 10:45:52 +01:00
GotthardG
3725456257 Sync project metadata with pyproject.toml
Updated scripts and backend to dynamically retrieve project name and version from `pyproject.toml`. This ensures consistent metadata across the OpenAPI client generation and the FastAPI application.
2024-12-17 10:44:36 +01:00
GotthardG
e44316c5b9 Sync project metadata with pyproject.toml
Updated scripts and backend to dynamically retrieve project name and version from `pyproject.toml`. This ensures consistent metadata across the OpenAPI client generation and the FastAPI application.
2024-12-17 10:40:39 +01:00
GotthardG
c345267313 Sync project metadata with pyproject.toml
Updated scripts and backend to dynamically retrieve project name and version from `pyproject.toml`. This ensures consistent metadata across the OpenAPI client generation and the FastAPI application.
2024-12-17 10:33:15 +01:00
GotthardG
c6da3e9ebe Sync project metadata with pyproject.toml
Updated scripts and backend to dynamically retrieve project name and version from `pyproject.toml`. This ensures consistent metadata across the OpenAPI client generation and the FastAPI application.
2024-12-17 10:30:09 +01:00
GotthardG
e4b2a15126 Sync project metadata with pyproject.toml
Updated scripts and backend to dynamically retrieve project name and version from `pyproject.toml`. This ensures consistent metadata across the OpenAPI client generation and the FastAPI application.
2024-12-17 10:28:36 +01:00
GotthardG
5dff380c65 Sync project metadata with pyproject.toml
Updated scripts and backend to dynamically retrieve project name and version from `pyproject.toml`. This ensures consistent metadata across the OpenAPI client generation and the FastAPI application.
2024-12-17 10:25:46 +01:00
GotthardG
adf811437d Sync project metadata with pyproject.toml
Updated scripts and backend to dynamically retrieve project name and version from `pyproject.toml`. This ensures consistent metadata across the OpenAPI client generation and the FastAPI application.
2024-12-17 10:21:08 +01:00
GotthardG
9c293dd8d4 fixing bugs with ci pipeline 2024-12-16 22:57:34 +01:00
GotthardG
0178de96fd fixing bugs with ci pipeline 2024-12-16 22:50:04 +01:00
GotthardG
6b493757c1 fixing bugs with ci pipeline 2024-12-16 14:31:00 +01:00
GotthardG
1ecbe97955 fixing bugs with ci pipeline 2024-12-16 14:23:10 +01:00
GotthardG
d6ac89b5d8 fixing bugs with ci pipeline 2024-12-16 14:12:38 +01:00
GotthardG
fbcfe86b9f Fix formatting with black 2024-12-16 11:20:33 +01:00
GotthardG
a0be71bdfe Fix formatting with black 2024-12-16 10:41:56 +01:00
GotthardG
24afe9fa9e tentative to add ci pipeline 2024-12-13 15:37:48 +01:00
GotthardG
fc6debd081 tentative to add ci pipeline 2024-12-13 15:13:41 +01:00
GotthardG
600e67ff76 tentative to add ci pipeline 2024-12-13 15:05:30 +01:00
GotthardG
48825e9b56 tentative to add ci pipeline 2024-12-13 14:52:31 +01:00
GotthardG
20f341a9a9 generating openapi from backend and adding ci pipeline 2024-12-13 10:45:04 +01:00
GotthardG
530c9efae0 retrieve pucks that are in the tell dewar 2024-12-12 15:10:14 +01:00
GotthardG
6c88ff9651 fixed bug with uk zip code and add retrieved timestamp for dewars at the beamline 2024-12-12 11:59:42 +01:00
GotthardG
fd17c0e672 refined output of retrieving pucks and dewars at beamlines 2024-12-12 11:31:27 +01:00
GotthardG
156533f372 get puck events 2024-12-11 17:01:52 +01:00
GotthardG
5d7dcebe2e get puck events 2024-12-11 16:59:22 +01:00
GotthardG
c3e476002a get puck events 2024-12-11 16:54:16 +01:00
GotthardG
3b79951a43 get puck events 2024-12-11 16:50:59 +01:00
GotthardG
f83dc1ea58 get puck events 2024-12-11 16:44:38 +01:00
GotthardG
e44212e642 get puck events 2024-12-11 16:35:01 +01:00