There was an error while loading. Please reload this page.
1 parent e6cccf7 commit a930eb8Copy full SHA for a930eb8
1 file changed
bris/outputs/intermediate.py
@@ -96,6 +96,8 @@ def get_filenames(self):
96
return glob.glob(f"{self.workdir}/*_*.npy")
97
98
def cleanup(self):
99
+ """Removes up all intermediate files and removes the workdir. Called in finalize of the main output."""
100
+
101
for _filename in self.get_filenames():
102
try:
103
os.remove(_filename)
0 commit comments