Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
naglepuff committed Jul 14, 2023
1 parent d42998c commit 4661eec
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions nmdc_server/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,6 @@ class BiosampleFilter(BaseFilter):

def join_omics_processing(self, query: Query) -> Query:
return self.join_self(
# query.join(
# models.Biosample, models.OmicsProcessing.biosample_id == models.Biosample.id
# ),
query.join(models.OmicsProcessing, models.Biosample.omics_processing),
Table.biosample,
)
Expand Down Expand Up @@ -244,9 +241,6 @@ def join_omics_processing(self, query: Query) -> Query:

def join_biosample(self, query: Query) -> Query:
return self.join_self(
# query.join(
# models.OmicsProcessing, models.Biosample.id == models.OmicsProcessing.biosample_id
# ),
query.join(models.Biosample, models.OmicsProcessing.biosample_inputs),
Table.omics_processing,
)
Expand Down

0 comments on commit 4661eec

Please sign in to comment.