Skip to content

Commit bbd3366

Browse files
committed
Fix formatting
1 parent f4b0a77 commit bbd3366

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

nmdc_server/filters.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,7 @@ def join(self, target_table: Table, query: Query) -> Query:
110110
def _join_omics_processing_related_tables(self, target_table: Table, query: Query) -> Query:
111111
if target_table in workflow_execution_tables:
112112
association_table = models.workflow_activity_to_data_generation_map[target_table.value]
113-
query = query.join(
114-
association_table
115-
).join(
113+
query = query.join(association_table).join(
116114
models.OmicsProcessing,
117115
models.OmicsProcessing.id == association_table.c.data_generation_id,
118116
)
@@ -271,10 +269,8 @@ def join_omics_processing(self, query: Query) -> Query:
271269
association_table,
272270
association_table.c.data_generation_id == models.OmicsProcessing.id,
273271
).join(
274-
model,
275-
model.id == association_table.c[f"{self.table.value}_id"] # type: ignore
272+
model, model.id == association_table.c[f"{self.table.value}_id"] # type: ignore
276273
)
277-
print(q)
278274
return q
279275

280276

0 commit comments

Comments
 (0)