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:
@ -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',
|
||||
|
Reference in New Issue
Block a user