Update dependencies and improve Python path handling
Updated several frontend dependencies including MUI packages and added new ones like `@mui/x-charts`. Adjusted the Python path setup in the CI configuration to correctly point to the `aaredb` backend, ensuring accurate module resolution.
This commit is contained in:
parent
8663d4aaa9
commit
248085b3c4
@ -186,7 +186,7 @@ const ResultGrid: React.FC<ResultGridProps> = ({ activePgroup }) => {
|
||||
|
||||
setBasePath(`${OpenAPI.BASE}/`);
|
||||
|
||||
SamplesService.getSampleResultsSamplesResultsGet(activePgroup)
|
||||
SamplesService.getSampleResults(activePgroup)
|
||||
.then((response: SampleResult[]) => {
|
||||
const treeRows: TreeRow[] = [];
|
||||
|
||||
|
@ -69,10 +69,11 @@ const RunDetails: React.FC<RunDetailsProps> = ({ run, onHeightChange, basePath,
|
||||
|
||||
const fetchResults = async (sample_id: number, runId: number) => {
|
||||
try {
|
||||
const results = await SamplesService.getResultsForRunAndSampleSamplesProcessingResultsSampleIdRunIdGet(sample_id, runId);
|
||||
const results = await SamplesService.getResultsForRunAndSample(sample_id, runId);
|
||||
|
||||
// Explicitly handle nested results
|
||||
const mappedResults: ProcessingResults[] = results.map((res): ProcessingResults => ({
|
||||
id: res.id,
|
||||
pipeline: res.result?.pipeline || 'N/A',
|
||||
resolution: res.result.resolution ?? 0,
|
||||
unit_cell: res.result?.unit_cell || 'N/A',
|
||||
|
@ -3,8 +3,8 @@
|
||||
{
|
||||
"metadata": {
|
||||
"ExecuteTime": {
|
||||
"end_time": "2025-03-17T20:57:43.884083Z",
|
||||
"start_time": "2025-03-17T20:57:43.366257Z"
|
||||
"end_time": "2025-03-19T11:01:53.035111Z",
|
||||
"start_time": "2025-03-19T11:01:52.510182Z"
|
||||
}
|
||||
},
|
||||
"cell_type": "code",
|
||||
@ -699,7 +699,7 @@
|
||||
"\n",
|
||||
" try:\n",
|
||||
" # Call the endpoint. The endpoint path expects the sample_id.\n",
|
||||
" api_response = api_instance.create_experiment_parameters_for_sample_samples_samples_sample_id_experiment_parameters_post(\n",
|
||||
" api_response = api_instance.create_experiment_parameters_for_sample(\n",
|
||||
" sample_id=experiment_params_payload.sample_id,\n",
|
||||
" experiment_parameters_create=experiment_params_payload\n",
|
||||
")\n",
|
||||
@ -807,7 +807,7 @@
|
||||
" api_instance = aareDBclient.SamplesApi(api_client)\n",
|
||||
"\n",
|
||||
" try:\n",
|
||||
" api_response = api_instance.create_result_samples_processing_results_post(\n",
|
||||
" api_response = api_instance.create_result(\n",
|
||||
" result_create=payload_dict\n",
|
||||
" )\n",
|
||||
"\n",
|
||||
|
Loading…
x
Reference in New Issue
Block a user