Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 10, 2023
1 parent b1a3508 commit 4b6a6a7
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions nwbwidgets/panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,8 @@ def create_components_dandi_source(self, args=None):

self.create_cache_row()
self.source_dandi_file_button = widgets.Button(icon="check", description="Load file")

children_list = [
self.source_dandi_id,
self.source_dandi_file_dropdown,
self.source_dandi_file_button
]

children_list = [self.source_dandi_id, self.source_dandi_file_dropdown, self.source_dandi_file_button]
if self.cache_row is not None:
children_list.insert(2, self.cache_row)

Expand Down

0 comments on commit 4b6a6a7

Please sign in to comment.