We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1229ddd commit 4fdd186Copy full SHA for 4fdd186
src/aiida/tools/archive/create.py
@@ -283,7 +283,10 @@ def querybuilder():
283
# Create and open the archive for writing.
284
# We create in a temp dir then move to final place at end,
285
# so that the user cannot end up with a half written archive on errors
286
- with tempfile.TemporaryDirectory() as tmpdir:
+ import ipdb; ipdb.set_trace()
287
+ base_temp_dir = '/mount' # or whatever directory you want to use
288
+ with tempfile.TemporaryDirectory(dir=base_temp_dir) as tmpdir:
289
+ # with tempfile.TemporaryDirectory() as tmpdir:
290
tmp_filename = Path(tmpdir) / 'export.zip'
291
with archive_format.open(tmp_filename, mode='x', compression=compression) as writer:
292
# add metadata
0 commit comments