adding HowBadIsMyBatch.nbconvert.ipynb
This commit is contained in:
15
.github/workflows/buildAndDeployWebsite.yml
vendored
15
.github/workflows/buildAndDeployWebsite.yml
vendored
@@ -29,14 +29,15 @@ jobs:
|
|||||||
- name: Executing HowBadIsMyBatch.ipynb
|
- name: Executing HowBadIsMyBatch.ipynb
|
||||||
shell: bash -el {0}
|
shell: bash -el {0}
|
||||||
run: |
|
run: |
|
||||||
git config --global user.email "Knoll_Frank@web.de"
|
|
||||||
git config --global user.name "FK"
|
|
||||||
ipython kernel install --user --name=howbadismybatch-venv-kernel
|
ipython kernel install --user --name=howbadismybatch-venv-kernel
|
||||||
cd src
|
cd src
|
||||||
jupyter nbconvert --ExecutePreprocessor.kernel_name="howbadismybatch-venv-kernel" --to notebook --allow-errors --execute HowBadIsMyBatch.ipynb
|
jupyter nbconvert --ExecutePreprocessor.kernel_name="howbadismybatch-venv-kernel" --to notebook --allow-errors --execute HowBadIsMyBatch.ipynb
|
||||||
jupyter nbconvert --to html HowBadIsMyBatch.nbconvert.ipynb
|
jupyter nbconvert --to html HowBadIsMyBatch.nbconvert.ipynb
|
||||||
- name: Archiving HowBadIsMyBatch.nbconvert.html
|
- name Pushing changes to GitHub Pages
|
||||||
uses: actions/upload-artifact@v3
|
shell: bash -el {0}
|
||||||
with:
|
run: |
|
||||||
name: HowBadIsMyBatch.nbconvert.html
|
git config --global user.email "Knoll_Frank@web.de"
|
||||||
path: src/HowBadIsMyBatch.nbconvert.html
|
git config --global user.name "FK"
|
||||||
|
git add -A
|
||||||
|
git commit -m "updating data for batch codes"
|
||||||
|
git push
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -11,7 +11,6 @@ docs/data/*.xlsx
|
|||||||
docs/data/*.html
|
docs/data/*.html
|
||||||
.env
|
.env
|
||||||
src/captchaImage.jpeg
|
src/captchaImage.jpeg
|
||||||
src/HowBadIsMyBatch.nbconvert.ipynb
|
|
||||||
src/HowBadIsMyBatch.nbconvert.html
|
src/HowBadIsMyBatch.nbconvert.html
|
||||||
src/__pycache__/
|
src/__pycache__/
|
||||||
src/intensivstationen/__pycache__/
|
src/intensivstationen/__pycache__/
|
||||||
|
|||||||
@@ -97,37 +97,6 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"createAndSaveBatchCodeTables(internationalVaersCovid19, minADRsForLethality=100)"
|
"createAndSaveBatchCodeTables(internationalVaersCovid19, minADRsForLethality=100)"
|
||||||
]
|
]
|
||||||
},
|
|
||||||
{
|
|
||||||
"cell_type": "code",
|
|
||||||
"execution_count": null,
|
|
||||||
"id": "8de69f66",
|
|
||||||
"metadata": {},
|
|
||||||
"outputs": [],
|
|
||||||
"source": [
|
|
||||||
"def publishGitHubPages():\n",
|
|
||||||
" ! git add -A\n",
|
|
||||||
" ! git commit -m \"updating data for batch codes\"\n",
|
|
||||||
" ! git push"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cell_type": "markdown",
|
|
||||||
"id": "3c7319f3",
|
|
||||||
"metadata": {},
|
|
||||||
"source": [
|
|
||||||
"### see https://knollfrank.github.io/HowBadIsMyBatch/batchCodeTable.html"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cell_type": "code",
|
|
||||||
"execution_count": null,
|
|
||||||
"id": "865df645",
|
|
||||||
"metadata": {},
|
|
||||||
"outputs": [],
|
|
||||||
"source": [
|
|
||||||
"publishGitHubPages()"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"metadata": {
|
"metadata": {
|
||||||
|
|||||||
Reference in New Issue
Block a user