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 10a1125 commit dcb4d8dCopy full SHA for dcb4d8d
src/murfey/instrument_server/api.py
@@ -494,6 +494,9 @@ def gather_upstream_tiffs(
494
stream=True,
495
headers={"Authorization": f"Bearer {tokens[session_id]}"},
496
)
497
+ (upstream_tiff_info.download_dir / tiff_path).parent.mkdir(
498
+ parents=True, exist_ok=True
499
+ )
500
with open(upstream_tiff_info.download_dir / tiff_path, "wb") as utiff:
501
for chunk in tiff_data.iter_content(chunk_size=32 * 1024**2):
502
utiff.write(chunk)
0 commit comments