Skip to content

Commit

Permalink
Deleted unnecessary code to delete temporary files that are not being…
Browse files Browse the repository at this point in the history
… generated anymore
  • Loading branch information
tmnp19 committed May 28, 2024
1 parent 025cbb2 commit 9b4883a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions piglot/solver/abaqus/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,12 +234,6 @@ def get(self, input_data: AbaqusInputData) -> OutputResult:
data_group = data[columns].to_numpy()
y_field = reduction[self.field](data_group, axis=1)

# Delete the extra temporary files
files = glob.glob(output_dir + '/' + input_file + '*.txt')
for file in files:
if self.set_name not in file:
os.remove(file)

return OutputResult(x_field, y_field)

@staticmethod
Expand Down

0 comments on commit 9b4883a

Please sign in to comment.