Skip to content

Commit 11da0ec

Browse files
committed
Fix to zipped mode data download
1 parent 6592c97 commit 11da0ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tidy3d/web/api/mode.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ def get_result(
432432
file = None
433433
try:
434434
file = download_gz_file(
435-
resource_id=self.task_id,
435+
resource_id=self.solver_id,
436436
remote_filename=MODESOLVER_RESULT_GZ,
437437
to_file=to_file,
438438
verbose=verbose,
@@ -441,12 +441,12 @@ def get_result(
441441
except ClientError:
442442
if verbose:
443443
console = get_logger_console()
444-
console.log(f"Unable to download '{MODESOLVER_RESULT}'.")
444+
console.log(f"Unable to download '{MODESOLVER_RESULT_GZ}'.")
445445

446446
if not file:
447447
try:
448448
file = download_file(
449-
resource_id=self.task_id,
449+
resource_id=self.solver_id,
450450
remote_filename=MODESOLVER_RESULT,
451451
to_file=to_file,
452452
verbose=verbose,

0 commit comments

Comments
 (0)