Skip to content

Commit

Permalink
Maybe the done files aren't written?
Browse files Browse the repository at this point in the history
  • Loading branch information
delucchi-cmu committed Nov 28, 2023
1 parent f2a755f commit 536e8f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions docs/notebooks/unequal_schema.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@
"try:\n",
" pipeline_with_client(args, client)\n",
"except:\n",
" pass # we know it's going to fail!!"
" pass # we know it's going to fail!!\n",
"tmp_path.cleanup()"
]
},
{
Expand Down Expand Up @@ -304,7 +305,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.4"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion src/hipscat_import/pipeline_resume_plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def wait_for_futures(self, futures, stage_name):
):
if future.status == "error":
some_error = True
print(f"Failing {stage_name} task {future.key}:")
print(f"{stage_name} task {future.key} failed with message:")
print(future.exception())
if some_error:
raise RuntimeError(f"Some {stage_name} stages failed. See logs for details.")
Expand Down

0 comments on commit 536e8f1

Please sign in to comment.