|
34 | 34 | },
|
35 | 35 | {
|
36 | 36 | "cell_type": "code",
|
37 |
| - "execution_count": null, |
| 37 | + "execution_count": 1, |
38 | 38 | "id": "ed784f7a-cb16-4595-bc34-9fad10e2310b",
|
39 | 39 | "metadata": {
|
40 | 40 | "editable": true,
|
|
45 | 45 | "remove-input"
|
46 | 46 | ]
|
47 | 47 | },
|
48 |
| - "outputs": [], |
| 48 | + "outputs": [ |
| 49 | + { |
| 50 | + "data": { |
| 51 | + "text/html": [], |
| 52 | + "text/plain": [ |
| 53 | + "<IPython.core.display.HTML object>" |
| 54 | + ] |
| 55 | + }, |
| 56 | + "metadata": {}, |
| 57 | + "output_type": "display_data" |
| 58 | + } |
| 59 | + ], |
49 | 60 | "source": [
|
50 | 61 | "import pandas as pd\n",
|
51 | 62 | "from datetime import datetime\n",
|
|
89 | 100 | {
|
90 | 101 | "cell_type": "markdown",
|
91 | 102 | "id": "7d378ec2-28e2-4d30-b588-22b3273fec59",
|
92 |
| - "metadata": {}, |
| 103 | + "metadata": { |
| 104 | + "editable": true, |
| 105 | + "slideshow": { |
| 106 | + "slide_type": "" |
| 107 | + }, |
| 108 | + "tags": [] |
| 109 | + }, |
93 | 110 | "source": [
|
94 | 111 | "## Installation Guide \n",
|
95 | 112 | "All CfRR courses require attendees to use their own computer/laptop to follow workshop activities and take effective notes. \n",
|
96 | 113 | "\n",
|
97 | 114 | "## Self Study Material Link \n",
|
98 | 115 | "The self-study material for this course is available [here](../individual_modules/section_landing_pages/introduction_to_julia.md).\n",
|
99 | 116 | "## Developers\n",
|
| 117 | + "\n", |
| 118 | + "This course was developed by Liam Berrisford. \n", |
| 119 | + "\n", |
100 | 120 | "## License Info "
|
101 | 121 | ]
|
102 | 122 | },
|
103 | 123 | {
|
104 | 124 | "cell_type": "code",
|
105 |
| - "execution_count": null, |
| 125 | + "execution_count": 2, |
106 | 126 | "id": "64a0e3a8-e122-4e4c-8c74-20df65523e38",
|
107 |
| - "metadata": {}, |
| 127 | + "metadata": { |
| 128 | + "editable": true, |
| 129 | + "slideshow": { |
| 130 | + "slide_type": "" |
| 131 | + }, |
| 132 | + "tags": [] |
| 133 | + }, |
| 134 | + "outputs": [ |
| 135 | + { |
| 136 | + "data": { |
| 137 | + "text/markdown": [ |
| 138 | + "### Instructional Material\n", |
| 139 | + "\n", |
| 140 | + "The instructional material in this course is copyright © 2024 University of Exeter\n", |
| 141 | + "and is made available under the Creative Commons Attribution 4.0 International\n", |
| 142 | + "licence (https://creativecommons.org/licenses/by/4.0/). Instructional material\n", |
| 143 | + "consists of material that is contained within the \"individual_modules/introduction_to_hpc\" folders in\n", |
| 144 | + "this repository, with the exception of code snippets and example programs found\n", |
| 145 | + "in files within these folders. Such code snippets and example programs are\n", |
| 146 | + "considered software for the purposes of this licence. \n", |
| 147 | + "\n", |
| 148 | + "\n", |
| 149 | + "### Software\n", |
| 150 | + "\n", |
| 151 | + "Except where otherwise noted, software provided in this repository is made\n", |
| 152 | + "available under the MIT licence (https://opensource.org/licenses/MIT).\n", |
| 153 | + "\n", |
| 154 | + "Copyright © 2024 University of Exeter\n", |
| 155 | + "\n", |
| 156 | + "Permission is hereby granted, free of charge, to any person obtaining a copy\n", |
| 157 | + "of this software and associated documentation files (the \"Software\"), to deal\n", |
| 158 | + "in the Software without restriction, including without limitation the rights\n", |
| 159 | + "to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n", |
| 160 | + "copies of the Software, and to permit persons to whom the Software is\n", |
| 161 | + "furnished to do so, subject to the following conditions:\n", |
| 162 | + "\n", |
| 163 | + "The above copyright notice and this permission notice shall be included in all\n", |
| 164 | + "copies or substantial portions of the Software.\n", |
| 165 | + "\n", |
| 166 | + "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n", |
| 167 | + "IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n", |
| 168 | + "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n", |
| 169 | + "AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n", |
| 170 | + "LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n", |
| 171 | + "OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n", |
| 172 | + "SOFTWARE.\n", |
| 173 | + "\n", |
| 174 | + "The software in this repository is adapted from software that is covered by the\n", |
| 175 | + "following copyright and permission notice:\n", |
| 176 | + "\n", |
| 177 | + " Copyright © 2024 Software Carpentry\n", |
| 178 | + "\n", |
| 179 | + " Permission is hereby granted, free of charge, to any person obtaining\n", |
| 180 | + " a copy of this software and associated documentation files (the\n", |
| 181 | + " \"Software\"), to deal in the Software without restriction, including\n", |
| 182 | + " without limitation the rights to use, copy, modify, merge, publish,\n", |
| 183 | + " distribute, sublicense, and/or sell copies of the Software, and to\n", |
| 184 | + " permit persons to whom the Software is furnished to do so, subject to\n", |
| 185 | + " the following conditions:\n", |
| 186 | + "\n", |
| 187 | + " The above copyright notice and this permission notice shall be\n", |
| 188 | + " included in all copies or substantial portions of the Software.\n", |
| 189 | + "\n", |
| 190 | + " THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n", |
| 191 | + " EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n", |
| 192 | + " MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n", |
| 193 | + " NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\n", |
| 194 | + " LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\n", |
| 195 | + " OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\n", |
| 196 | + " WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE." |
| 197 | + ], |
| 198 | + "text/plain": [ |
| 199 | + "<IPython.core.display.Markdown object>" |
| 200 | + ] |
| 201 | + }, |
| 202 | + "metadata": {}, |
| 203 | + "output_type": "display_data" |
| 204 | + } |
| 205 | + ], |
| 206 | + "source": [ |
| 207 | + "from IPython.display import Markdown, display\n", |
| 208 | + "\n", |
| 209 | + "def display_markdown(file_path):\n", |
| 210 | + " try:\n", |
| 211 | + " with open(file_path, 'r') as file:\n", |
| 212 | + " content = file.read()\n", |
| 213 | + " display(Markdown(content))\n", |
| 214 | + " except FileNotFoundError:\n", |
| 215 | + " print(f\"The file {file_path} was not found.\")\n", |
| 216 | + " except Exception as e:\n", |
| 217 | + " print(f\"An error occurred: {e}\")\n", |
| 218 | + "\n", |
| 219 | + "# Example usage:\n", |
| 220 | + "file_path = '../individual_modules/introduction_to_hpc/LICENSE.txt' # Replace with your file path\n", |
| 221 | + "display_markdown(file_path)" |
| 222 | + ] |
| 223 | + }, |
| 224 | + { |
| 225 | + "cell_type": "code", |
| 226 | + "execution_count": null, |
| 227 | + "id": "4f24727e-e0d7-4cdb-92c8-eb991d57acee", |
| 228 | + "metadata": { |
| 229 | + "editable": true, |
| 230 | + "slideshow": { |
| 231 | + "slide_type": "" |
| 232 | + }, |
| 233 | + "tags": [] |
| 234 | + }, |
108 | 235 | "outputs": [],
|
109 | 236 | "source": []
|
110 | 237 | }
|
|
0 commit comments