Skip to content

Commit

Permalink
Black formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
eudesbarbosa committed Apr 14, 2021
1 parent 769e395 commit 01123ab
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions snappy_pipeline/workflows/abstract/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def __init__(
mixed_se_pe,
sodar_uuid,
sodar_title,
pedigree_field=None
pedigree_field=None,
):
"""Constructor.
Expand Down Expand Up @@ -509,16 +509,15 @@ def __init__(
self.sheets = [info.sheet for info in self.data_set_infos]
#: Shortcut BioMed SampleSheet keyword arguments
sheet_kwargs_list = [
merge_kwargs(first_kwargs=self.sheet_shortcut_kwargs,
second_kwargs=info.pedigree_field_kwargs)
merge_kwargs(
first_kwargs=self.sheet_shortcut_kwargs, second_kwargs=info.pedigree_field_kwargs
)
for info in self.data_set_infos
]
#: Shortcut sheets
self.shortcut_sheets = [ # pylint: disable=E1102
self.__class__.sheet_shortcut_class(
sheet,
*(self.__class__.sheet_shortcut_args or []),
**(kwargs or {})
sheet, *(self.__class__.sheet_shortcut_args or []), **(kwargs or {})
)
for sheet, kwargs in zip(self.sheets, sheet_kwargs_list)
]
Expand Down Expand Up @@ -754,7 +753,7 @@ def _load_data_set_infos(self):
data_set.get("mixed_se_pe", False),
data_set.get("sodar_uuid", None),
data_set.get("sodar_title", None),
data_set.get("pedigree_field", None)
data_set.get("pedigree_field", None),
)

@classmethod
Expand Down

0 comments on commit 01123ab

Please sign in to comment.