Skip to content

Commit 2bd8cab

Browse files
committed
Remove unintended changes to output_directory.py
1 parent b4d2bca commit 2bd8cab

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

libensemble/utils/output_directory.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ def _make_calc_dir(self, workerID, H_rows, calc_str: str, locs: LocationStack):
110110

111111
# If using input_dir, set of files to copy is contents of provided dir
112112
if input_dir:
113-
assert isinstance(input_dir, Path)
114113
copy_files = set(copy_files + [i for i in input_dir.iterdir()])
115114

116115
# If identical paths to copy and symlink, remove those paths from symlink_files
@@ -125,7 +124,7 @@ def _make_calc_dir(self, workerID, H_rows, calc_str: str, locs: LocationStack):
125124
prefix = self.ensemble_dir
126125
else: # Each worker does work in prefix (ensemble_dir)
127126
key = self.ensemble_dir
128-
dirname = str(self.ensemble_dir)
127+
dirname = self.ensemble_dir
129128
prefix = None
130129

131130
locs.register_loc(

0 commit comments

Comments
 (0)