Skip to content

Commit

Permalink
Black formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
KulaginVladimir committed Nov 3, 2023
1 parent 748e383 commit f26e219
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions festim/exports/txt_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def __init__(self, field, label, folder, times=None) -> None:
@property
def filename(self):
return f"{self.folder}/{self.label}.txt"

def is_it_time_to_export(self, current_time):
if self.times is None:
return True
Expand Down
4 changes: 1 addition & 3 deletions test/system/test_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,7 @@ def test_txt_export_all_times(tmp_path):
my_model.initialise()
my_model.run()

assert os.path.exists(
"{}/{}.txt".format(my_export.folder, my_export.label)
)
assert os.path.exists("{}/{}.txt".format(my_export.folder, my_export.label))

data = np.genfromtxt(
"{}/{}.txt".format(my_export.folder, my_export.label),
Expand Down

0 comments on commit f26e219

Please sign in to comment.