Skip to content

Commit

Permalink
Apply Ruff formatting to pass style check
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedikt authored and Benedikt committed Oct 29, 2024
1 parent 75dd3b1 commit 6d97556
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/mnelab/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,9 @@ def append_data(self, names):
files = [self.current["data"]]
current_index = self.index - 1
indices = [f"datasets[{current_index}]"]
data_without_current = self.data[:current_index] + self.data[current_index + 1:]
data_without_current = (
self.data[:current_index] + self.data[current_index + 1 :]
)

for idx, d in enumerate(data_without_current):
if d["name"] in names:
Expand Down

0 comments on commit 6d97556

Please # to comment.