Expand sample data handling and grid display.

Integrated additional sample parameters into backend and frontend for enhanced data collection. Updated pyproject version to reflect these changes. This improves user interface flexibility and enriches displayed sample metadata.
This commit is contained in:
GotthardG
2025-01-08 09:52:15 +01:00
parent 9b4f8599f3
commit 6d67d02259
3 changed files with 44 additions and 29 deletions

View File

@ -330,35 +330,12 @@ async def get_dewar_samples(dewar_id: int, db: Session = Depends(get_db)):
{
"id": sample.id,
"position": sample.position,
"dewar_name": dewar.dewar_name, # Add Dewar name here
"dewar_name": dewar.dewar_name,
"sample_name": sample.sample_name,
"priority": sample.priority,
"comments": sample.comments,
# "directory":sample.directory,
"proteinname": sample.proteinname,
# "oscillation": datacollection.oscillation,
# "aperture": 10,
# "exposure": 11,
# "totalrange": 12,
# "transmission": 13,
# "dose": 14,
# "targetresolution": 15,
# "datacollectiontype": 16,
# "processingpipeline": 17,
# "spacegroupnumber": 18,
# "cellparameters": 19,
# "rescutkey": 20,
# "rescutvalue": 21,
# "userresolution": 22,
# "pdbid": 23,
# "autoprocfull": 24,
# "procfull": 25,
# "adpenabled": 26,
# "noano": 27,
# "ffcscampaign": 28,
# "trustedhigh": 29,
# "autoprocextraparams": 30,
# "chiphiangles": 31,
**(sample.data_collection_parameters or {}),
}
for sample in samples
],