Skip to content

Commit

Permalink
Merge branch 'main' into Joe-example
Browse files Browse the repository at this point in the history
  • Loading branch information
Jmegan042 committed Jan 8, 2025
2 parents 0fea19c + 274a855 commit ceedc8f
Show file tree
Hide file tree
Showing 21 changed files with 42,887 additions and 6,708 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,16 @@ build_docker_dev:

## render: Render a post (e.g. make render posts/example_dir/index.ipynb)
render: build_docker_dev
mkdir -p $$(dirname $${i})/index_files $$(dirname $${i})/index_cache && \
mkdir -p $(realpath $(dir $(filter-out $@,$(MAKECMDGOALS))))/index_files $(realpath $(dir $(filter-out $@,$(MAKECMDGOALS))))/index_cache && \
docker run -it \
-v "$(realpath $(dir $(filter-out $@,$(MAKECMDGOALS))))":/repo \
-v $(realpath $(dir $(filter-out $@,$(MAKECMDGOALS)))):/repo \
-u $(shell id -u):$(shell id -g) \
code4np_base:dev \
/bin/bash -c 'pixi run quarto render $(notdir $(filter-out $@,$(MAKECMDGOALS)))'




## render_all_posts : Render all posts
render_all_posts: build_docker_dev
for i in $$(find posts -name "index.ipynb" -o -name "index.qmd"); do \
Expand Down
730 changes: 730 additions & 0 deletions posts/chemsim_2024_02_28/index.html

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions posts/intro_to_mass_spec/1_intro/collapse-callout.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
function Callout(el)
if quarto.doc.isFormat("html") then
-- Set default collapse to true if unset
if not el.collapse then
el.collapse = true
end
return el
end
end
536 changes: 536 additions & 0 deletions posts/intro_to_mass_spec/1_intro/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions posts/intro_to_mass_spec/1_intro/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ author:
categories: [beginner, mass spectrometry, r]
date: "2024-02-01"
description: "First in a series of introductory posts about working with mass spectrometry data in R"
execute:
execute:
cache: true
freeze: true
format:
html:
df-print: paged
filters:
- collapse-callout
- collapse-callout.lua
collapse-callout:
all: true
all: true
---


Expand Down
9 changes: 9 additions & 0 deletions posts/intro_to_mass_spec/2_mzml/collapse-callout.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
function Callout(el)
if quarto.doc.isFormat("html") then
-- Set default collapse to true if unset
if not el.collapse then
el.collapse = true
end
return el
end
end
673 changes: 673 additions & 0 deletions posts/intro_to_mass_spec/2_mzml/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions posts/intro_to_mass_spec/2_mzml/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ author:
categories: [beginner, mass spectrometry, r]
date: "2024-02-02"
description: "What mass spectrometry data looks like, using R"
execute:
execute:
cache: true
freeze: true
format:
html:
df-print: paged
filters:
- collapse-callout
- collapse-callout.lua
collapse-callout:
all: true
all: true
---

This is a continuation from [Part 1](../1_intro/).
Expand Down
9 changes: 9 additions & 0 deletions posts/intro_to_mass_spec/3_spectra/collapse-callout.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
function Callout(el)
if quarto.doc.isFormat("html") then
-- Set default collapse to true if unset
if not el.collapse then
el.collapse = true
end
return el
end
end
780 changes: 780 additions & 0 deletions posts/intro_to_mass_spec/3_spectra/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions posts/intro_to_mass_spec/3_spectra/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ author:
categories: [beginner, mass spectrometry, r]
date: "2024-02-03"
description: "An introduction to working with mass spectrometry data in R"
execute:
execute:
cache: true
freeze: true
format:
html:
df-print: paged
filters:
- collapse-callout
- collapse-callout.lua
collapse-callout:
all: true
all: true
---

This is a continuation from [Part 2](../2_mzml/).
Expand Down
6 changes: 3 additions & 3 deletions posts/intro_to_mass_spec/3_spectra/pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ platforms = ["linux-64"]
[dependencies]
quarto = "==1.4.550"
r-base = "4.3.*"
r-rmarkdown = ""
r-knitr = ""
r-rmarkdown = "*"
r-knitr = "*"
bioconductor-mzr = "==2.36.0"
r-codetools = ""
r-codetools = "*"
9 changes: 9 additions & 0 deletions posts/intro_to_mass_spec/4_reanalysis/collapse-callout.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
function Callout(el)
if quarto.doc.isFormat("html") then
-- Set default collapse to true if unset
if not el.collapse then
el.collapse = true
end
return el
end
end
1,021 changes: 1,021 additions & 0 deletions posts/intro_to_mass_spec/4_reanalysis/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions posts/intro_to_mass_spec/4_reanalysis/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ author:
categories: [beginner, mass spectrometry, r]
date: "2024-02-04"
description: "An introduction to working with mass spectrometry data in R"
execute:
execute:
cache: true
freeze: true
format:
html:
df-print: paged
filters:
- collapse-callout
- collapse-callout.lua
collapse-callout:
all: true
all: true
---

This is a continuation from [Part 3](../3_spectra/).
Expand Down
8 changes: 4 additions & 4 deletions posts/intro_to_mass_spec/4_reanalysis/pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ platforms = ["linux-64"]
quarto = "==1.4.550"
r-base = "4.3.*"
r-ggplot2 = "==3.4.4"
r-rmarkdown = ""
r-knitr = ""
r-rmarkdown = "*"
r-knitr = "*"
bioconductor-mzr = "==2.36.0"
r-codetools = ""
r-plotly = ""
r-codetools = "*"
r-plotly = "*"
36,455 changes: 36,455 additions & 0 deletions posts/intro_to_python_and_jupyter/NPAtlas_download.tsv

Large diffs are not rendered by default.

722 changes: 722 additions & 0 deletions posts/intro_to_python_and_jupyter/index.html

Large diffs are not rendered by default.

Loading

0 comments on commit ceedc8f

Please sign in to comment.