Skip to content

Commit

Permalink
Format tapisv3 notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
kks32 committed Oct 1, 2024
1 parent ac303fe commit 864a4ff
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions examples/mpm/template-mpm-v3.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
"metadata": {},
"outputs": [],
"source": [
"# Authenticate \n",
"# Authenticate\n",
"t = dapi.auth.init()"
]
},
Expand Down Expand Up @@ -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)"
]
},
Expand Down Expand Up @@ -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))"
]
},
Expand All @@ -302,7 +304,7 @@
"source": [
"# Submit job\n",
"job = t.jobs.submitJob(**job_info)\n",
"jobUuid=job.uuid"
"jobUuid = job.uuid"
]
},
{
Expand Down

0 comments on commit 864a4ff

Please sign in to comment.