Skip to content

Commit

Permalink
mkdirs
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielwen committed Feb 14, 2020
1 parent dcfb493 commit 480fa8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xgboost_synthetic/testing/xgboost_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def test_xgboost_synthetic(record_xml_attribute, name, namespace, # pylint: disa
with open(os.path.join(notebook_artifacts_dir, "notebook.html"), "w") as f:
notebook_artifacts_path = os.path.join(notebook_artifacts_dir, "notebook.html")
logging.info("Writing notebook artifact to: %s", notebook_artifacts_path)
os.makedirs(notebook_artifacts_dir, exist_ok=True)
# Download notebook html to artifacts
with open(notebook_artifacts_path, "w") as f:
storage_client = storage.Client()
Expand Down

0 comments on commit 480fa8a

Please sign in to comment.