diff --git a/examples/mpm/template-mpm-v3.ipynb b/examples/mpm/template-mpm-v3.ipynb index 323620f..29fafd1 100644 --- a/examples/mpm/template-mpm-v3.ipynb +++ b/examples/mpm/template-mpm-v3.ipynb @@ -198,7 +198,7 @@ "metadata": {}, "outputs": [], "source": [ - "# Authenticate \n", + "# Authenticate\n", "t = dapi.auth.init()" ] }, @@ -226,7 +226,7 @@ ], "source": [ "# Identify folder with input file in DesignSafe\n", - "input_uri = dapi.jobs.get_ds_path_uri(t, path)\n", + "input_uri = dapi.jobs.get_ds_path_uri(t, path)\n", "print(input_uri)" ] }, @@ -279,9 +279,11 @@ ], "source": [ "# Generate job info for mpm\n", - "job_info = dapi.jobs.generate_job_info(t, 'mpm', input_uri, input_file, allocation='BCS20003')\n", - "job_info['maxMinutes'] = 10\n", - "job_info['execSystemLogicalQueue'] = 'development'\n", + "job_info = dapi.jobs.generate_job_info(\n", + " t, \"mpm\", input_uri, input_file, allocation=\"BCS20003\"\n", + ")\n", + "job_info[\"maxMinutes\"] = 10\n", + "job_info[\"execSystemLogicalQueue\"] = \"development\"\n", "print(\"\\n---Job Info---\\n\\n\" + json.dumps(job_info, indent=2))" ] }, @@ -302,7 +304,7 @@ "source": [ "# Submit job\n", "job = t.jobs.submitJob(**job_info)\n", - "jobUuid=job.uuid" + "jobUuid = job.uuid" ] }, {