Skip to content

Commit 7e41242

Browse files
Need to get first data collection from returned items (#526)
1 parent 5c5ee1d commit 7e41242

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/murfey/server/api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@ async def request_tomography_preprocessing(
12621262

12631263
processing_job_parameters = db.exec(
12641264
select(TomographyProcessingParameters).where(
1265-
TomographyProcessingParameters.pj_id == data_collection[2].id
1265+
TomographyProcessingParameters.pj_id == data_collection[0][2].id
12661266
)
12671267
).all()
12681268
if processing_job_parameters:

0 commit comments

Comments
 (0)