Skip to content

Commit

Permalink
black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sellth committed Oct 27, 2023
1 parent d0f7b4f commit 2650c0a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions altamisa/isatab/modify_investigation.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _join_protocols(x: dict, y: dict) -> dict:
)
return x

def add_assay(self, input_path: str) -> models.InvestigationInfo:
def add_assay(self, input_path: str):
"""
Add assay to investigation file.
Expand Down Expand Up @@ -72,8 +72,6 @@ def add_assay(self, input_path: str) -> models.InvestigationInfo:
assays = self.investigation.studies[0].assays
assays += investigation2.studies[0].assays

new_study = attr.evolve(
self.investigation.studies[0], protocols=protocols, assays=assays
)
new_study = attr.evolve(self.investigation.studies[0], protocols=protocols, assays=assays)
modified_inv = attr.evolve(self.investigation, studies=(new_study,))
return modified_inv

0 comments on commit 2650c0a

Please sign in to comment.