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:
GotthardG
2025-03-19 12:04:50 +01:00
parent 8663d4aaa9
commit 248085b3c4
3 changed files with 7 additions and 6 deletions

View File

@ -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[] = [];

View File

@ -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',