Skip to content

Commit

Permalink
Merge pull request OpenAssetIO#89 from feltech/work/removeLogoFromHel…
Browse files Browse the repository at this point in the history
…loExample

Remove unused logo file from "Hello OpenAssetIO" notebook
  • Loading branch information
feltech authored Apr 11, 2024
2 parents fd70e69 + e0a8f97 commit b356f0e
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
44 changes: 22 additions & 22 deletions examples/hello_openassetio.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 1,
"id": "80285f6a-8134-4055-9430-a48a5f79e7d3",
"metadata": {
"editable": true,
Expand All @@ -47,8 +47,8 @@
},
"tags": [],
"ExecuteTime": {
"end_time": "2024-01-26T15:19:22.114754741Z",
"start_time": "2024-01-26T15:19:22.097367591Z"
"end_time": "2024-04-11T09:12:36.623396Z",
"start_time": "2024-04-11T09:12:36.607832Z"
}
},
"outputs": [],
Expand Down Expand Up @@ -80,12 +80,12 @@
"metadata": {
"collapsed": false,
"ExecuteTime": {
"end_time": "2024-01-26T15:19:22.136688151Z",
"start_time": "2024-01-26T15:19:22.118123240Z"
"end_time": "2024-04-11T09:12:36.643982Z",
"start_time": "2024-04-11T09:12:36.624942Z"
}
},
"id": "b5a74cd424da1322",
"execution_count": 14
"execution_count": 2
},
{
"cell_type": "markdown",
Expand Down Expand Up @@ -119,12 +119,12 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": 3,
"id": "6ef73b42-a7ad-4bfb-9420-7d4def269459",
"metadata": {
"ExecuteTime": {
"end_time": "2024-01-26T15:19:22.163041433Z",
"start_time": "2024-01-26T15:19:22.162505020Z"
"end_time": "2024-04-11T09:12:36.663743Z",
"start_time": "2024-04-11T09:12:36.645272Z"
}
},
"outputs": [],
Expand Down Expand Up @@ -208,12 +208,12 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 4,
"id": "82c3962a-27b5-4375-b4fa-dbd14dcfc93b",
"metadata": {
"ExecuteTime": {
"end_time": "2024-01-26T15:19:22.163577450Z",
"start_time": "2024-01-26T15:19:22.162712488Z"
"end_time": "2024-04-11T09:12:36.668571Z",
"start_time": "2024-04-11T09:12:36.665380Z"
}
},
"outputs": [
Expand Down Expand Up @@ -280,19 +280,19 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": 5,
"id": "0fcf0214-2561-488a-8eee-0330ca27710d",
"metadata": {
"scrolled": true,
"ExecuteTime": {
"end_time": "2024-01-26T15:19:22.214909881Z",
"start_time": "2024-01-26T15:19:22.162824704Z"
"end_time": "2024-04-11T09:12:36.686899Z",
"start_time": "2024-04-11T09:12:36.669793Z"
}
},
"outputs": [
{
"data": {
"text/markdown": "> **Result:**\n> `file:///tmp/logo.jpg`"
"text/markdown": "> **Result:**\n> `file:///some/path/to/logo.jpg`"
},
"metadata": {},
"output_type": "display_data"
Expand Down Expand Up @@ -326,28 +326,28 @@
"outputs": [
{
"data": {
"text/markdown": "> **Result:**\n> `/tmp/logo.jpg`"
"text/markdown": "> **Result:**\n> `/some/path/to/logo.jpg`"
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"from openassetio.utils import FileUrlPathConverter\n",
"from openassetio.utils import FileUrlPathConverter, PathType\n",
"\n",
"path = FileUrlPathConverter().pathFromUrl(url) # also .pathToUrl\n",
"path = FileUrlPathConverter().pathFromUrl(url, PathType.kPOSIX) # also .pathToUrl\n",
"\n",
"helpers.display_result(path)"
],
"metadata": {
"collapsed": false,
"ExecuteTime": {
"end_time": "2024-01-26T15:19:22.215290879Z",
"start_time": "2024-01-26T15:19:22.210713037Z"
"end_time": "2024-04-11T09:12:36.691020Z",
"start_time": "2024-04-11T09:12:36.687691Z"
}
},
"id": "2da05320a928e846",
"execution_count": 18
"execution_count": 6
}
],
"metadata": {
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/hello_openassetio/bal_database.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"qualifiedName": "logos / openassetio / v1"
},
"openassetio-mediacreation:content.LocatableContent": {
"location": "file://${bal_library_dir}/logo.jpg"
"location": "file:///some/path/to/logo.jpg"
}
}
}
Expand Down
Binary file removed examples/resources/hello_openassetio/logo.jpg
Binary file not shown.

0 comments on commit b356f0e

Please sign in to comment.