diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index c831c4b9..601b3fe2 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -85,6 +85,7 @@ _or_ 4. Create a .Rmd and convert it to a Jupyter Notebook. Several methods for this exist and none are perfect, but [this open source method](https://github.com/mkearney/rmd2jupyter) currently works. 5. Run the entire notebook to ensure it is working as expected and save the *rendered* notebook in the folder. 6. Update the `README.md` in the folder to include links to the rendered notebook (using [nbviewer](https://nbviewer.org/) and [google colab](https://colab.research.google.com/)). +7. Add the notebooks to the appropriate github workflow to ensure they are included in the continuous integration process. See the `.github/workflows` folder for existing workflows (one for the R notebooks and one for the python notebooks). Add the new notebook to the end of the list of notebooks in the workflow file. ## Dependency Management diff --git a/.github/workflows/notebook_check_python.yml b/.github/workflows/notebook_check_python.yml new file mode 100644 index 00000000..c7abb3a7 --- /dev/null +++ b/.github/workflows/notebook_check_python.yml @@ -0,0 +1,44 @@ +name: Execute python notebooks + +on: + pull_request: + workflow_dispatch: + # run once a week + schedule: + - cron: "0 0 * * 0" + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - id: checkout + uses: actions/checkout@v3 + + - id: python-setup + name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.11' + + - id: python-dependencies + name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements_dev.txt + pip install jupyter + + - id: execute-bioscales + name: Execute bioscales notebook + run: | + jupyter nbconvert --execute --to notebook --inplace bioscales_biogeochemical_metadata/python/bioscales.ipynb + + - id: execute-neon + name: Execute neon notebook + run: | + jupyter nbconvert --execute --to notebook --inplace NEON_soil_metadata/python/neon_soil_metadata_visual_exploration.ipynb + + - id: execute-taxonomic + name: Execute taxonomic notebook + run: | + jupyter nbconvert --execute --to notebook --inplace taxonomic_dist_by_soil_layer/python/taxonomic_dist_soil_layer.ipynb \ No newline at end of file diff --git a/.github/workflows/notebook_check_r.yml b/.github/workflows/notebook_check_r.yml new file mode 100644 index 00000000..6f84f6ba --- /dev/null +++ b/.github/workflows/notebook_check_r.yml @@ -0,0 +1,55 @@ +name: Execute R notebooks + +on: + pull_request: + workflow_dispatch: + # run once a week + schedule: + - cron: "0 0 * * 0" + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - id: checkout + uses: actions/checkout@v3 + + - id: python-setup + name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.11' + + - id: install-juptyer + name: Install Juptyer + run: | + python -m pip install --upgrade pip + pip install jupyter + + - id: r-setup + name: Set up R + uses: r-lib/actions/setup-r@v2 + + - id: r-dependencies + name: Install r dependencies + run: | + R -e 'install.packages("renv")' + R -e 'renv::restore()' + R -e 'install.packages("IRkernel")' + R -e 'IRkernel::installspec()' + + - id: execute-bioscales + name: Execute bioscales notebook + run: | + jupyter nbconvert --execute --to notebook --inplace bioscales_biogeochemical_metadata/R/bioscales_metadata.ipynb + + - id: execute-neon + name: Execute NEON metadata notebook + run: | + jupyter nbconvert --execute --to notebook --inplace NEON_soil_metadata/R/NEON_data_exploration.ipynb + + - id: execute-taxonomic + name: Execute taxonomic metadata notebook + run: | + jupyter nbconvert --execute --to notebook --inplace taxonomic_dist_by_soil_layer/R/taxonomic_dist_soil_layer_R.ipynb \ No newline at end of file diff --git a/taxonomic_dist_by_soil_layer/python/taxonomic_dist_soil_layer.ipynb b/taxonomic_dist_by_soil_layer/python/taxonomic_dist_soil_layer.ipynb index 063608ad..fdee795d 100644 --- a/taxonomic_dist_by_soil_layer/python/taxonomic_dist_soil_layer.ipynb +++ b/taxonomic_dist_by_soil_layer/python/taxonomic_dist_soil_layer.ipynb @@ -6056,7 +6056,7 @@ ], "xaxis": "x", "y": [ - 5.8353391007969135e-05, + 0.000058353391007969135, 0.0005895061385835503 ], "yaxis": "y" @@ -6218,8 +6218,8 @@ ], "xaxis": "x", "y": [ - 5.368250949065357e-05, - 7.680022462912044e-05 + 0.00005368250949065357, + 0.00007680022462912044 ], "yaxis": "y" }, @@ -6299,7 +6299,7 @@ ], "xaxis": "x", "y": [ - 9.815675470026196e-05, + 0.00009815675470026196, 0.00019909248080102163 ], "yaxis": "y" @@ -6353,7 +6353,7 @@ ], "xaxis": "x", "y": [ - 5.614711868967443e-05, + 0.00005614711868967443, 0.0011821625977853913 ], "yaxis": "y" @@ -6433,7 +6433,7 @@ ], "xaxis": "x", "y": [ - 8.894012498904e-07 + 8.894012498904e-7 ], "yaxis": "y" }, @@ -6540,7 +6540,7 @@ ], "xaxis": "x", "y": [ - 8.452928986946311e-05, + 0.00008452928986946311, 0.0004966492385729097 ], "yaxis": "y" @@ -6648,7 +6648,7 @@ ], "xaxis": "x", "y": [ - 9.602193331037585e-05, + 0.00009602193331037585, 0.000235395204468949 ], "yaxis": "y" @@ -6729,8 +6729,8 @@ ], "xaxis": "x", "y": [ - 2.668203749671199e-06, - 1.8391210570623686e-05 + 0.000002668203749671199, + 0.000018391210570623686 ], "yaxis": "y" }, @@ -6837,8 +6837,8 @@ ], "xaxis": "x", "y": [ - 8.894012498904e-07, - 1.8157870385149059e-06 + 8.894012498904e-7, + 0.0000018157870385149059 ], "yaxis": "y" }, @@ -6891,7 +6891,7 @@ ], "xaxis": "x", "y": [ - 3.1094448039755427e-05, + 0.000031094448039755427, 0.00012632642416648453 ], "yaxis": "y" @@ -7566,8 +7566,8 @@ ], "xaxis": "x", "y": [ - 3.878656351038034e-05, - 2.3921343465183015e-05 + 0.00003878656351038034, + 0.000023921343465183015 ], "yaxis": "y" }, @@ -7621,7 +7621,7 @@ "xaxis": "x", "y": [ 0.0005872627145042228, - 9.117811213776011e-05 + 0.00009117811213776011 ], "yaxis": "y" }, @@ -8107,7 +8107,7 @@ "xaxis": "x", "y": [ 0.00019595178898959778, - 9.369757666609436e-05 + 0.00009369757666609436 ], "yaxis": "y" }, @@ -8214,8 +8214,8 @@ ], "xaxis": "x", "y": [ - 9.783413748794397e-06, - 6.310136955361311e-06 + 0.000009783413748794397, + 0.000006310136955361311 ], "yaxis": "y" }, @@ -9132,8 +9132,8 @@ ], "xaxis": "x", "y": [ - 4.447006249452e-06, - 8.150100332625155e-07 + 0.000004447006249452, + 8.150100332625155e-7 ], "yaxis": "y" }, @@ -9159,8 +9159,8 @@ ], "xaxis": "x", "y": [ - 1.5899120042808814e-05, - 8.855630061667164e-06 + 0.000015899120042808814, + 0.000008855630061667164 ], "yaxis": "y" }, @@ -9212,7 +9212,7 @@ ], "xaxis": "x", "y": [ - 8.894012498904e-07 + 8.894012498904e-7 ], "yaxis": "y" }, @@ -9293,7 +9293,7 @@ "xaxis": "x", "y": [ 0.00024129555925295564, - 6.700457319332356e-05 + 0.00006700457319332356 ], "yaxis": "y" }, @@ -9563,7 +9563,7 @@ "xaxis": "x", "y": [ 0.00019534318661265068, - 6.038461049109516e-05 + 0.00006038461049109516 ], "yaxis": "y" }, @@ -9615,7 +9615,7 @@ ], "xaxis": "x", "y": [ - 1.5009718792918415e-05 + 0.000015009718792918415 ], "yaxis": "y" }, @@ -9722,8 +9722,8 @@ ], "xaxis": "x", "y": [ - 1.704859734065768e-05, - 2.4675667593509466e-06 + 0.00001704859734065768, + 0.0000024675667593509466 ], "yaxis": "y" }, @@ -10074,7 +10074,7 @@ "xaxis": "x", "y": [ 0.00038224611464427973, - 9.070555524138037e-05 + 0.00009070555524138037 ], "yaxis": "y" }, @@ -10100,8 +10100,8 @@ ], "xaxis": "x", "y": [ - 3.4792725870717816e-05, - 1.2649991108522152e-06 + 0.000034792725870717816, + 0.0000012649991108522152 ], "yaxis": "y" }, @@ -10182,7 +10182,7 @@ "xaxis": "x", "y": [ 0.00037516385567207814, - 6.844883186375199e-06 + 0.000006844883186375199 ], "yaxis": "y" }, @@ -10316,7 +10316,7 @@ ], "xaxis": "x", "y": [ - 7.594008981654088e-05, + 0.00007594008981654088, 0.0003444592124026068 ], "yaxis": "y" @@ -10586,8 +10586,8 @@ ], "xaxis": "x", "y": [ - 1.882739984043848e-05, - 5.688683177235847e-05 + 0.00001882739984043848, + 0.00005688683177235847 ], "yaxis": "y" }, @@ -10991,8 +10991,8 @@ ], "xaxis": "x", "y": [ - 8.894012498904e-07, - 8.409151727626374e-07 + 8.894012498904e-7, + 8.409151727626374e-7 ], "yaxis": "y" }, @@ -11099,8 +11099,8 @@ ], "xaxis": "x", "y": [ - 1.7788024997808e-06, - 9.130854688570381e-06 + 0.0000017788024997808, + 0.000009130854688570381 ], "yaxis": "y" }, @@ -11153,8 +11153,8 @@ ], "xaxis": "x", "y": [ - 9.155461871337041e-05, - 9.337524008568388e-05 + 0.00009155461871337041, + 0.00009337524008568388 ], "yaxis": "y" }, @@ -11180,8 +11180,8 @@ ], "xaxis": "x", "y": [ - 8.894012498904e-07, - 2.4383430795318164e-05 + 8.894012498904e-7, + 0.000024383430795318164 ], "yaxis": "y" }, @@ -11450,7 +11450,7 @@ ], "xaxis": "x", "y": [ - 9.586467883164044e-05, + 0.00009586467883164044, 0.000403907616357084 ], "yaxis": "y" @@ -12044,8 +12044,8 @@ ], "xaxis": "x", "y": [ - 2.2385303302205325e-05, - 5.236630776893974e-06 + 0.000022385303302205325, + 0.000005236630776893974 ], "yaxis": "y" }, @@ -12287,8 +12287,8 @@ ], "xaxis": "x", "y": [ - 8.004611249013598e-06, - 3.855950068992648e-05 + 0.000008004611249013598, + 0.00003855950068992648 ], "yaxis": "y" }, @@ -12314,8 +12314,8 @@ ], "xaxis": "x", "y": [ - 1.650521324277168e-05, - 6.055941896232314e-06 + 0.00001650521324277168, + 0.000006055941896232314 ], "yaxis": "y" }, @@ -12639,7 +12639,7 @@ "xaxis": "x", "y": [ 0.00011367400620142362, - 4.8223415763774946e-05 + 0.000048223415763774946 ], "yaxis": "y" }, @@ -12962,8 +12962,8 @@ ], "xaxis": "x", "y": [ - 1.450898335795427e-05, - 1.9413339328573144e-06 + 0.00001450898335795427, + 0.0000019413339328573144 ], "yaxis": "y" }, @@ -13367,8 +13367,8 @@ ], "xaxis": "x", "y": [ - 1.6009222498027197e-05, - 5.528404355357923e-05 + 0.000016009222498027197, + 0.00005528404355357923 ], "yaxis": "y" }, @@ -13421,7 +13421,7 @@ ], "xaxis": "x", "y": [ - 2.3349401025543894e-05, + 0.000023349401025543894, 0.00016631610939410636 ], "yaxis": "y" @@ -13448,8 +13448,8 @@ ], "xaxis": "x", "y": [ - 5.336407499342398e-06, - 9.698649106038835e-07 + 0.000005336407499342398, + 9.698649106038835e-7 ], "yaxis": "y" }, @@ -13557,7 +13557,7 @@ "xaxis": "x", "y": [ 0.0001222022488870194, - 4.842152613548617e-06 + 0.000004842152613548617 ], "yaxis": "y" }, @@ -13718,7 +13718,7 @@ ], "xaxis": "x", "y": [ - 3.674401460521426e-05, + 0.00003674401460521426, 0.00010572464974774845 ], "yaxis": "y" @@ -13908,7 +13908,7 @@ "xaxis": "x", "y": [ 0.00022779848211485293, - 3.847248703954726e-05 + 0.00003847248703954726 ], "yaxis": "y" }, @@ -13935,7 +13935,7 @@ "xaxis": "x", "y": [ 0.00023899213363034476, - 7.083825160591495e-05 + 0.00007083825160591495 ], "yaxis": "y" }, @@ -14041,7 +14041,7 @@ ], "xaxis": "x", "y": [ - 8.894012498904e-07 + 8.894012498904e-7 ], "yaxis": "y" }, @@ -14093,7 +14093,7 @@ ], "xaxis": "x", "y": [ - 7.331283087651565e-05 + 0.00007331283087651565 ], "yaxis": "y" }, @@ -14118,7 +14118,7 @@ ], "xaxis": "x", "y": [ - 1.0972810941507123e-05 + 0.000010972810941507123 ], "yaxis": "y" }, @@ -14143,7 +14143,7 @@ ], "xaxis": "x", "y": [ - 5.31748736496595e-07 + 5.31748736496595e-7 ], "yaxis": "y" }, @@ -14168,7 +14168,7 @@ ], "xaxis": "x", "y": [ - 5.536440537245126e-07 + 5.536440537245126e-7 ], "yaxis": "y" }, @@ -14193,7 +14193,7 @@ ], "xaxis": "x", "y": [ - 7.683345609698603e-07 + 7.683345609698603e-7 ], "yaxis": "y" }, @@ -14218,7 +14218,7 @@ ], "xaxis": "x", "y": [ - 2.7167001108750516e-07 + 2.7167001108750516e-7 ], "yaxis": "y" }, @@ -14243,7 +14243,7 @@ ], "xaxis": "x", "y": [ - 5.524397951111288e-05 + 0.00005524397951111288 ], "yaxis": "y" }, @@ -14268,7 +14268,7 @@ ], "xaxis": "x", "y": [ - 5.692451616751323e-07 + 5.692451616751323e-7 ], "yaxis": "y" }, @@ -14293,7 +14293,7 @@ ], "xaxis": "x", "y": [ - 4.966645498823551e-07 + 4.966645498823551e-7 ], "yaxis": "y" }, @@ -14318,7 +14318,7 @@ ], "xaxis": "x", "y": [ - 9.966343657468727e-05 + 0.00009966343657468727 ], "yaxis": "y" }, @@ -14393,7 +14393,7 @@ ], "xaxis": "x", "y": [ - 1.579489133193738e-05 + 0.00001579489133193738 ], "yaxis": "y" }, @@ -14418,7 +14418,7 @@ ], "xaxis": "x", "y": [ - 4.966645498823551e-07 + 4.966645498823551e-7 ], "yaxis": "y" }, @@ -14443,7 +14443,7 @@ ], "xaxis": "x", "y": [ - 4.966645498823551e-07 + 4.966645498823551e-7 ], "yaxis": "y" }, @@ -16154,7 +16154,7 @@ ], "xaxis": "x4", "y": [ - 9.047139290746944e-05 + 0.00009047139290746944 ], "yaxis": "y4" }, @@ -16337,7 +16337,7 @@ ], "xaxis": "x3", "y": [ - 4.1697679018192074e-05 + 0.000041697679018192074 ], "yaxis": "y3" }, @@ -16908,7 +16908,7 @@ ], "xaxis": "x", "y": [ - 4.490576804405349e-05, + 0.00004490576804405349, 0.00013744399110960815 ], "yaxis": "y" @@ -16961,7 +16961,7 @@ ], "xaxis": "x3", "y": [ - 2.1861692718862564e-05 + 0.000021861692718862564 ], "yaxis": "y3" }, @@ -17169,7 +17169,7 @@ ], "xaxis": "x3", "y": [ - 7.661064745273047e-05 + 0.00007661064745273047 ], "yaxis": "y3" }, @@ -17220,7 +17220,7 @@ ], "xaxis": "x", "y": [ - 3.3355471493013396e-05, + 0.000033355471493013396, 0.00024440722154134124 ], "yaxis": "y" @@ -17273,7 +17273,7 @@ ], "xaxis": "x3", "y": [ - 7.223885200914037e-05 + 0.00007223885200914037 ], "yaxis": "y3" }, @@ -17351,7 +17351,7 @@ ], "xaxis": "x2", "y": [ - 6.823712979254712e-05, + 0.00006823712979254712, 0 ], "yaxis": "y2" @@ -17428,7 +17428,7 @@ ], "xaxis": "x", "y": [ - 3.357291816309575e-05, + 0.00003357291816309575, 0.000215110840369184 ], "yaxis": "y" @@ -17739,7 +17739,7 @@ ], "xaxis": "x", "y": [ - 2.2665699761915484e-06 + 0.0000022665699761915484 ], "yaxis": "y" }, @@ -17972,7 +17972,7 @@ ], "xaxis": "x4", "y": [ - 6.124181975202206e-05 + 0.00006124181975202206 ], "yaxis": "y4" }, @@ -18051,7 +18051,7 @@ ], "xaxis": "x3", "y": [ - 9.061450872760985e-06 + 0.000009061450872760985 ], "yaxis": "y3" }, @@ -18102,7 +18102,7 @@ ], "xaxis": "x", "y": [ - 6.671094298602679e-05, + 0.00006671094298602679, 0.0001716399872259527 ], "yaxis": "y" @@ -18155,7 +18155,7 @@ ], "xaxis": "x3", "y": [ - 3.0126593158049177e-05 + 0.000030126593158049177 ], "yaxis": "y3" }, @@ -18518,8 +18518,8 @@ ], "xaxis": "x", "y": [ - 9.691798728922366e-05, - 1.7251320665710112e-05 + 0.00009691798728922366, + 0.000017251320665710112 ], "yaxis": "y" }, @@ -18571,7 +18571,7 @@ ], "xaxis": "x3", "y": [ - 3.2860004354451187e-06 + 0.0000032860004354451187 ], "yaxis": "y3" }, @@ -18830,8 +18830,8 @@ ], "xaxis": "x", "y": [ - 6.799709928574645e-06, - 8.502434868205716e-05 + 0.000006799709928574645, + 0.00008502434868205716 ], "yaxis": "y" }, @@ -18883,7 +18883,7 @@ ], "xaxis": "x3", "y": [ - 3.2860004354451187e-06 + 0.0000032860004354451187 ], "yaxis": "y3" }, @@ -19116,7 +19116,7 @@ ], "xaxis": "x4", "y": [ - 3.062090987601103e-05 + 0.00003062090987601103 ], "yaxis": "y4" }, @@ -19220,7 +19220,7 @@ ], "xaxis": "x4", "y": [ - 6.271421179600388e-05 + 0.00006271421179600388 ], "yaxis": "y4" }, @@ -19246,8 +19246,8 @@ ], "xaxis": "x", "y": [ - 2.2665699761915484e-06, - 9.47957680475218e-06 + 0.0000022665699761915484, + 0.00000947957680475218 ], "yaxis": "y" }, @@ -19455,7 +19455,7 @@ "xaxis": "x", "y": [ 0, - 4.2587334953025105e-05 + 0.000042587334953025105 ], "yaxis": "y" }, @@ -19507,7 +19507,7 @@ ], "xaxis": "x3", "y": [ - 2.432388506017916e-05 + 0.00002432388506017916 ], "yaxis": "y3" }, @@ -20468,7 +20468,7 @@ ], "xaxis": "x4", "y": [ - 9.480751371599675e-05 + 0.00009480751371599675 ], "yaxis": "y4" }, @@ -21846,7 +21846,7 @@ ], "xaxis": "x", "y": [ - 9.591576067795623e-05, + 0.00009591576067795623, 0.00020268963159395512 ], "yaxis": "y" @@ -21924,7 +21924,7 @@ ], "xaxis": "x4", "y": [ - 6.124181975202206e-05 + 0.00006124181975202206 ], "yaxis": "y4" }, @@ -22054,8 +22054,8 @@ ], "xaxis": "x", "y": [ - 7.036222572478491e-05, - 7.285507074706103e-06 + 0.00007036222572478491, + 0.000007285507074706103 ], "yaxis": "y" }, @@ -22107,7 +22107,7 @@ ], "xaxis": "x3", "y": [ - 9.061450872760985e-06 + 0.000009061450872760985 ], "yaxis": "y3" }, @@ -22159,7 +22159,7 @@ "xaxis": "x", "y": [ 0.0001602656407678655, - 2.9783313071760613e-05 + 0.000029783313071760613 ], "yaxis": "y" }, @@ -22236,7 +22236,7 @@ ], "xaxis": "x4", "y": [ - 6.271421179600388e-05 + 0.00006271421179600388 ], "yaxis": "y4" }, @@ -22315,7 +22315,7 @@ ], "xaxis": "x3", "y": [ - 5.975511239816354e-05 + 0.00005975511239816354 ], "yaxis": "y3" }, @@ -22340,7 +22340,7 @@ ], "xaxis": "x4", "y": [ - 6.124181975202206e-05 + 0.00006124181975202206 ], "yaxis": "y4" }, @@ -23771,7 +23771,7 @@ ], "xaxis": "x3", "y": [ - 5.519251333069442e-05 + 0.00005519251333069442 ], "yaxis": "y3" }, @@ -24187,7 +24187,7 @@ ], "xaxis": "x3", "y": [ - 6.599258531444384e-06 + 0.000006599258531444384 ], "yaxis": "y3" }, @@ -24550,8 +24550,8 @@ ], "xaxis": "x", "y": [ - 2.4932269738107028e-05, - 1.8604115810686162e-05 + 0.000024932269738107028, + 0.000018604115810686162 ], "yaxis": "y" }, @@ -24603,7 +24603,7 @@ ], "xaxis": "x3", "y": [ - 1.60862422815467e-05 + 0.0000160862422815467 ], "yaxis": "y3" }, @@ -24940,7 +24940,7 @@ ], "xaxis": "x4", "y": [ - 3.209330191999286e-05 + 0.00003209330191999286 ], "yaxis": "y4" }, @@ -24966,8 +24966,8 @@ ], "xaxis": "x", "y": [ - 6.91883732944473e-05, - 8.280736335429925e-05 + 0.0000691883732944473, + 0.00008280736335429925 ], "yaxis": "y" }, @@ -25227,7 +25227,7 @@ ], "xaxis": "x3", "y": [ - 9.912516627443648e-06 + 0.000009912516627443648 ], "yaxis": "y3" }, @@ -27644,7 +27644,7 @@ ], "xaxis": "x4", "y": [ - 9.18627296280331e-05 + 0.0000918627296280331 ], "yaxis": "y4" }, @@ -28060,7 +28060,7 @@ ], "xaxis": "x4", "y": [ - 3.062090987601103e-05 + 0.00003062090987601103 ], "yaxis": "y4" }, @@ -28086,8 +28086,8 @@ ], "xaxis": "x", "y": [ - 1.1332849880957743e-05, - 4.354453554179438e-06 + 0.000011332849880957743, + 0.000004354453554179438 ], "yaxis": "y" }, @@ -28190,8 +28190,8 @@ ], "xaxis": "x", "y": [ - 2.6773208234521107e-05, - 2.6419527591304534e-06 + 0.000026773208234521107, + 0.0000026419527591304534 ], "yaxis": "y" }, @@ -28243,7 +28243,7 @@ ], "xaxis": "x3", "y": [ - 3.552395336408902e-05 + 0.00003552395336408902 ], "yaxis": "y3" }, @@ -28397,7 +28397,7 @@ ], "xaxis": "x", "y": [ - 2.2665699761915484e-06 + 0.0000022665699761915484 ], "yaxis": "y" }, @@ -28709,7 +28709,7 @@ ], "xaxis": "x3", "y": [ - 3.8482498519967184e-05 + 0.000038482498519967184 ], "yaxis": "y3" }, @@ -28734,7 +28734,7 @@ ], "xaxis": "x4", "y": [ - 3.062090987601103e-05 + 0.00003062090987601103 ], "yaxis": "y4" }, @@ -29696,7 +29696,7 @@ ], "xaxis": "x", "y": [ - 8.622821555812575e-05, + 0.00008622821555812575, 0.00011151694271629276 ], "yaxis": "y" @@ -29749,7 +29749,7 @@ ], "xaxis": "x3", "y": [ - 5.9836885379825974e-05 + 0.000059836885379825974 ], "yaxis": "y3" }, @@ -29774,7 +29774,7 @@ ], "xaxis": "x4", "y": [ - 9.047139290746944e-05 + 0.00009047139290746944 ], "yaxis": "y4" }, @@ -29903,7 +29903,7 @@ ], "xaxis": "x", "y": [ - 2.450663825832956e-05 + 0.00002450663825832956 ], "yaxis": "y" }, @@ -30266,8 +30266,8 @@ ], "xaxis": "x", "y": [ - 2.2665699761915484e-06, - 4.386272319590264e-06 + 0.0000022665699761915484, + 0.000004386272319590264 ], "yaxis": "y" }, @@ -30293,7 +30293,7 @@ ], "xaxis": "x2", "y": [ - 5.258055615536338e-05, + 0.00005258055615536338, 0 ], "yaxis": "y2" @@ -30319,7 +30319,7 @@ ], "xaxis": "x3", "y": [ - 9.486983750102316e-06 + 0.000009486983750102316 ], "yaxis": "y3" }, @@ -31618,7 +31618,7 @@ ], "xaxis": "x", "y": [ - 9.66850410935514e-05, + 0.0000966850410935514, 0.00021667783573706104 ], "yaxis": "y" @@ -31671,7 +31671,7 @@ ], "xaxis": "x3", "y": [ - 8.197389018486759e-05 + 0.00008197389018486759 ], "yaxis": "y3" }, @@ -31723,7 +31723,7 @@ "xaxis": "x", "y": [ 0, - 1.4514845180598128e-06 + 0.0000014514845180598128 ], "yaxis": "y" }, @@ -31775,7 +31775,7 @@ ], "xaxis": "x3", "y": [ - 5.775450437315865e-06 + 0.000005775450437315865 ], "yaxis": "y3" }, @@ -32035,7 +32035,7 @@ "xaxis": "x", "y": [ 0, - 3.962929138695681e-06 + 0.000003962929138695681 ], "yaxis": "y" }, @@ -32112,7 +32112,7 @@ ], "xaxis": "x4", "y": [ - 3.209330191999286e-05 + 0.00003209330191999286 ], "yaxis": "y4" }, @@ -32554,8 +32554,8 @@ ], "xaxis": "x", "y": [ - 7.036222572478491e-05, - 7.853946511448748e-05 + 0.00007036222572478491, + 0.00007853946511448748 ], "yaxis": "y" }, @@ -33023,7 +33023,7 @@ ], "xaxis": "x3", "y": [ - 6.917364833876601e-05 + 0.00006917364833876601 ], "yaxis": "y3" }, @@ -33048,7 +33048,7 @@ ], "xaxis": "x4", "y": [ - 3.062090987601103e-05 + 0.00003062090987601103 ], "yaxis": "y4" }, @@ -33594,8 +33594,8 @@ ], "xaxis": "x", "y": [ - 6.799709928574645e-06, - 6.922594949464449e-05 + 0.000006799709928574645, + 0.00006922594949464449 ], "yaxis": "y" }, @@ -33621,7 +33621,7 @@ ], "xaxis": "x2", "y": [ - 5.258055615536338e-05, + 0.00005258055615536338, 0.0005896909108173001 ], "yaxis": "y2" @@ -33647,7 +33647,7 @@ ], "xaxis": "x3", "y": [ - 1.6566290479996326e-05 + 0.000016566290479996326 ], "yaxis": "y3" }, @@ -35154,8 +35154,8 @@ ], "xaxis": "x", "y": [ - 2.2665699761915484e-06, - 1.4514845180598128e-06 + 0.0000022665699761915484, + 0.0000014514845180598128 ], "yaxis": "y" }, @@ -35207,7 +35207,7 @@ ], "xaxis": "x3", "y": [ - 3.2860004354451187e-06 + 0.0000032860004354451187 ], "yaxis": "y3" }, @@ -35415,7 +35415,7 @@ ], "xaxis": "x3", "y": [ - 6.2009833146571974e-06 + 0.0000062009833146571974 ], "yaxis": "y3" }, @@ -35440,7 +35440,7 @@ ], "xaxis": "x4", "y": [ - 3.062090987601103e-05 + 0.00003062090987601103 ], "yaxis": "y4" }, @@ -35519,7 +35519,7 @@ ], "xaxis": "x3", "y": [ - 9.912516627443648e-06 + 0.000009912516627443648 ], "yaxis": "y3" }, @@ -35570,8 +35570,8 @@ ], "xaxis": "x", "y": [ - 4.533139952383097e-06, - 1.2252971272628166e-05 + 0.000004533139952383097, + 0.000012252971272628166 ], "yaxis": "y" }, @@ -35623,7 +35623,7 @@ ], "xaxis": "x3", "y": [ - 9.08870853331513e-06 + 0.00000908870853331513 ], "yaxis": "y3" }, @@ -35648,7 +35648,7 @@ ], "xaxis": "x4", "y": [ - 3.062090987601103e-05 + 0.00003062090987601103 ], "yaxis": "y4" }, @@ -35831,7 +35831,7 @@ ], "xaxis": "x3", "y": [ - 6.961520818891609e-05 + 0.00006961520818891609 ], "yaxis": "y3" }, @@ -35856,7 +35856,7 @@ ], "xaxis": "x4", "y": [ - 3.062090987601103e-05 + 0.00003062090987601103 ], "yaxis": "y4" }, @@ -35882,8 +35882,8 @@ ], "xaxis": "x", "y": [ - 2.2665699761915484e-06, - 8.417676888309161e-05 + 0.0000022665699761915484, + 0.00008417676888309161 ], "yaxis": "y" }, @@ -36533,7 +36533,7 @@ ], "xaxis": "x2", "y": [ - 6.542752983268182e-05, + 0.00006542752983268182, 0 ], "yaxis": "y2" @@ -36949,7 +36949,7 @@ ], "xaxis": "x2", "y": [ - 6.542752983268182e-05, + 0.00006542752983268182, 0 ], "yaxis": "y2" @@ -36975,7 +36975,7 @@ ], "xaxis": "x3", "y": [ - 6.626516191998531e-06 + 0.000006626516191998531 ], "yaxis": "y3" }, @@ -37000,7 +37000,7 @@ ], "xaxis": "x4", "y": [ - 6.271421179600388e-05 + 0.00006271421179600388 ], "yaxis": "y4" }, @@ -37599,7 +37599,7 @@ ], "xaxis": "x3", "y": [ - 9.486983750102316e-06 + 0.000009486983750102316 ], "yaxis": "y3" }, @@ -37624,7 +37624,7 @@ ], "xaxis": "x4", "y": [ - 3.062090987601103e-05 + 0.00003062090987601103 ], "yaxis": "y4" }, @@ -37651,7 +37651,7 @@ "xaxis": "x", "y": [ 0.0003119625385984913, - 6.546765587610164e-05 + 0.00006546765587610164 ], "yaxis": "y" }, @@ -37703,7 +37703,7 @@ ], "xaxis": "x3", "y": [ - 5.775450437315865e-06 + 0.000005775450437315865 ], "yaxis": "y3" }, @@ -39210,7 +39210,7 @@ ], "xaxis": "x", "y": [ - 4.293043981481407e-05, + 0.00004293043981481407, 0 ], "yaxis": "y" @@ -39288,7 +39288,7 @@ ], "xaxis": "x4", "y": [ - 3.062090987601103e-05 + 0.00003062090987601103 ], "yaxis": "y4" }, @@ -39575,7 +39575,7 @@ ], "xaxis": "x3", "y": [ - 9.912516627443648e-06 + 0.000009912516627443648 ], "yaxis": "y3" }, @@ -40146,8 +40146,8 @@ ], "xaxis": "x", "y": [ - 2.0399129785723932e-05, - 3.1585114460858526e-05 + 0.000020399129785723932, + 0.000031585114460858526 ], "yaxis": "y" }, @@ -40199,7 +40199,7 @@ ], "xaxis": "x3", "y": [ - 6.2009833146571974e-06 + 0.0000062009833146571974 ], "yaxis": "y3" }, @@ -40250,8 +40250,8 @@ ], "xaxis": "x", "y": [ - 3.788861144539649e-05, - 2.646727012750682e-05 + 0.00003788861144539649, + 0.00002646727012750682 ], "yaxis": "y" }, @@ -40303,7 +40303,7 @@ ], "xaxis": "x3", "y": [ - 6.173725654103052e-06 + 0.000006173725654103052 ], "yaxis": "y3" }, @@ -40432,7 +40432,7 @@ ], "xaxis": "x4", "y": [ - 6.271421179600388e-05 + 0.00006271421179600388 ], "yaxis": "y4" }, @@ -40927,7 +40927,7 @@ ], "xaxis": "x3", "y": [ - 4.618557777904173e-05 + 0.00004618557777904173 ], "yaxis": "y3" }, @@ -41499,7 +41499,7 @@ "xaxis": "x", "y": [ 0.00018686681967616833, - 8.022277430372825e-05 + 0.00008022277430372825 ], "yaxis": "y" }, @@ -41525,7 +41525,7 @@ ], "xaxis": "x2", "y": [ - 5.090568099976212e-05, + 0.00005090568099976212, 0 ], "yaxis": "y2" @@ -41551,7 +41551,7 @@ ], "xaxis": "x3", "y": [ - 9.885258966889502e-06 + 0.000009885258966889502 ], "yaxis": "y3" }, @@ -41967,7 +41967,7 @@ ], "xaxis": "x3", "y": [ - 4.912781831880796e-05 + 0.00004912781831880796 ], "yaxis": "y3" }, @@ -42747,7 +42747,7 @@ "xaxis": "x", "y": [ 0, - 7.124113741051637e-06 + 0.000007124113741051637 ], "yaxis": "y" }, @@ -42773,7 +42773,7 @@ ], "xaxis": "x2", "y": [ - 5.090568099976212e-05, + 0.00005090568099976212, 0 ], "yaxis": "y2" @@ -42799,7 +42799,7 @@ ], "xaxis": "x3", "y": [ - 3.3132580959992653e-06 + 0.0000033132580959992653 ], "yaxis": "y3" }, @@ -43319,7 +43319,7 @@ ], "xaxis": "x3", "y": [ - 4.78784773473381e-05 + 0.0000478784773473381 ], "yaxis": "y3" }, @@ -44306,8 +44306,8 @@ ], "xaxis": "x", "y": [ - 4.0798259571447864e-05, - 4.200819985998174e-05 + 0.000040798259571447864, + 0.00004200819985998174 ], "yaxis": "y" }, @@ -44359,7 +44359,7 @@ ], "xaxis": "x3", "y": [ - 5.5239955976759726e-05 + 0.000055239955976759726 ], "yaxis": "y3" }, @@ -44514,8 +44514,8 @@ ], "xaxis": "x", "y": [ - 4.41394545782475e-05, - 9.030831264316979e-05 + 0.0000441394545782475, + 0.00009030831264316979 ], "yaxis": "y" }, @@ -44567,7 +44567,7 @@ ], "xaxis": "x3", "y": [ - 1.8973967500204632e-05 + 0.000018973967500204632 ], "yaxis": "y3" }, @@ -44618,8 +44618,8 @@ ], "xaxis": "x", "y": [ - 1.359941985714929e-05, - 5.127923961325583e-06 + 0.00001359941985714929, + 0.000005127923961325583 ], "yaxis": "y" }, @@ -44853,7 +44853,7 @@ ], "xaxis": "x2", "y": [ - 6.542752983268182e-05, + 0.00006542752983268182, 0.0005896909108173001 ], "yaxis": "y2" @@ -45034,8 +45034,8 @@ ], "xaxis": "x", "y": [ - 2.2665699761915484e-06, - 2.2633915557054777e-05 + 0.0000022665699761915484, + 0.000022633915557054777 ], "yaxis": "y" }, @@ -45087,7 +45087,7 @@ ], "xaxis": "x3", "y": [ - 3.2860004354451187e-06 + 0.0000032860004354451187 ], "yaxis": "y3" }, @@ -45658,7 +45658,7 @@ ], "xaxis": "x", "y": [ - 5.66642494047887e-05, + 0.0000566642494047887, 0.0002857307779480561 ], "yaxis": "y" @@ -45685,7 +45685,7 @@ ], "xaxis": "x2", "y": [ - 5.090568099976212e-05, + 0.00005090568099976212, 0 ], "yaxis": "y2" @@ -45711,7 +45711,7 @@ ], "xaxis": "x3", "y": [ - 5.686738717950561e-05 + 0.00005686738717950561 ], "yaxis": "y3" }, @@ -45736,7 +45736,7 @@ ], "xaxis": "x4", "y": [ - 3.209330191999286e-05 + 0.00003209330191999286 ], "yaxis": "y4" }, @@ -46179,7 +46179,7 @@ "xaxis": "x", "y": [ 0.00017907062201177987, - 4.7899755600467554e-05 + 0.000047899755600467554 ], "yaxis": "y" }, @@ -46231,7 +46231,7 @@ ], "xaxis": "x3", "y": [ - 9.986497348944498e-05 + 0.00009986497348944498 ], "yaxis": "y3" }, @@ -46386,7 +46386,7 @@ ], "xaxis": "x", "y": [ - 3.562204146920495e-05, + 0.00003562204146920495, 0.00010237826044420627 ], "yaxis": "y" @@ -46439,7 +46439,7 @@ ], "xaxis": "x3", "y": [ - 2.557322603164902e-05 + 0.00002557322603164902 ], "yaxis": "y3" }, @@ -46543,7 +46543,7 @@ ], "xaxis": "x3", "y": [ - 3.302355031777606e-05 + 0.00003302355031777606 ], "yaxis": "y3" }, @@ -46568,7 +46568,7 @@ ], "xaxis": "x4", "y": [ - 3.209330191999286e-05 + 0.00003209330191999286 ], "yaxis": "y4" }, @@ -46855,7 +46855,7 @@ ], "xaxis": "x3", "y": [ - 1.2374708968760249e-05 + 0.000012374708968760249 ], "yaxis": "y3" }, @@ -46905,7 +46905,7 @@ ], "xaxis": "x", "y": [ - 2.2665699761915484e-06 + 0.0000022665699761915484 ], "yaxis": "y" }, @@ -46956,8 +46956,8 @@ ], "xaxis": "x", "y": [ - 2.2665699761915484e-06, - 8.428685856999964e-05 + 0.0000022665699761915484, + 0.00008428685856999964 ], "yaxis": "y" }, @@ -47009,7 +47009,7 @@ ], "xaxis": "x3", "y": [ - 2.8877252186579325e-06 + 0.0000028877252186579325 ], "yaxis": "y3" }, @@ -47159,7 +47159,7 @@ ], "xaxis": "x", "y": [ - 2.6419527591304534e-06 + 0.0000026419527591304534 ], "yaxis": "y" }, @@ -47234,7 +47234,7 @@ ], "xaxis": "x4", "y": [ - 6.124181975202206e-05 + 0.00006124181975202206 ], "yaxis": "y4" }, @@ -47259,7 +47259,7 @@ ], "xaxis": "x", "y": [ - 2.7715273273740927e-06 + 0.0000027715273273740927 ], "yaxis": "y" }, @@ -47359,7 +47359,7 @@ ], "xaxis": "x", "y": [ - 2.9020354658686786e-06 + 0.0000029020354658686786 ], "yaxis": "y" }, @@ -47459,7 +47459,7 @@ ], "xaxis": "x", "y": [ - 1.4514845180598128e-06 + 0.0000014514845180598128 ], "yaxis": "y" }, @@ -47509,7 +47509,7 @@ ], "xaxis": "x3", "y": [ - 2.8877252186579325e-06 + 0.0000028877252186579325 ], "yaxis": "y3" }, @@ -47559,7 +47559,7 @@ ], "xaxis": "x", "y": [ - 1.4514845180598128e-06 + 0.0000014514845180598128 ], "yaxis": "y" }, @@ -47809,7 +47809,7 @@ ], "xaxis": "x3", "y": [ - 3.2860004354451187e-06 + 0.0000032860004354451187 ], "yaxis": "y3" }, @@ -47909,7 +47909,7 @@ ], "xaxis": "x3", "y": [ - 2.8877252186579325e-06 + 0.0000028877252186579325 ], "yaxis": "y3" }, @@ -48159,7 +48159,7 @@ ], "xaxis": "x", "y": [ - 5.283905518260907e-06 + 0.000005283905518260907 ], "yaxis": "y" }, @@ -48259,7 +48259,7 @@ ], "xaxis": "x", "y": [ - 5.787508962715517e-05 + 0.00005787508962715517 ], "yaxis": "y" }, @@ -48409,7 +48409,7 @@ ], "xaxis": "x3", "y": [ - 2.8877252186579325e-06 + 0.0000028877252186579325 ], "yaxis": "y3" }, @@ -48509,7 +48509,7 @@ ], "xaxis": "x3", "y": [ - 2.8877252186579325e-06 + 0.0000028877252186579325 ], "yaxis": "y3" }, @@ -48609,7 +48609,7 @@ ], "xaxis": "x3", "y": [ - 2.8877252186579325e-06 + 0.0000028877252186579325 ], "yaxis": "y3" }, @@ -49697,7 +49697,7 @@ "source": [ "## Save as pickle file\n", "\n", - "Since this notebook takes a while to run, we can save the output and variables as a pickle file using the dill library. This will be in the `.gitignore` folder." + "Since this notebook takes a while to run, we can save the output and variables as a pickle file using the dill library. This will be in the `.gitignore` folder. Note this is optional, therefore we have commented it out" ] }, { @@ -49707,8 +49707,8 @@ "metadata": {}, "outputs": [], "source": [ - "with open(\"contig_notebook_session.pkl\", \"wb\") as f:\n", - " dill.dump_session(f)" + "# with open(\"contig_notebook_session.pkl\", \"wb\") as f:\n", + "# dill.dump_session(f)" ] }, {