Skip to content

Commit

Permalink
Merge pull request #274 from rasools/OMICSINT_H24
Browse files Browse the repository at this point in the history
Omicsint h24
  • Loading branch information
rasools authored Oct 17, 2024
2 parents 5088f72 + fc9e66a commit 960fa13
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 193 deletions.
204 changes: 19 additions & 185 deletions schedule.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.4.553">
<meta name="generator" content="quarto-1.3.433">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down Expand Up @@ -58,10 +58,8 @@ <h1 class="title">Schedule - Omics integration and systems biology - 2024</h1>
</div>



</header>


<section id="before-the-course" class="level4">
<h4 class="anchored" data-anchor-id="before-the-course">Before the course</h4>
<p><strong>Prepare</strong> <a href="https://nbisweden.github.io/workshop_omics_integration/precourse.html">Pre-course materials</a>. In order to be able to access the lab notebooks for this course you need to have access to <a href="https://serve.scilifelab.se">SciLifeLab Serve</a>. For lunching practicals please follow the instructions <a href="./session_intro/Instructions%20for%20course%20OMICSINT_H24.pdf">here</a>.</p>
Expand Down Expand Up @@ -511,7 +509,20 @@ <h5 class="anchored" data-anchor-id="day-5">Day 5</h5>
</details>
<p><strong>11.45 - 12.00</strong> <img border="0" src="https://www.svgrepo.com/show/7321/teacher.svg" width="15" height="15"> Lab recap (<a href="https://www.chalmers.se/en/persons/rasools/?tab=0">Rasool</a>)</p>
<p><strong>12.00 - 13.10</strong> <img border="0" src="https://www.svgrepo.com/show/21938/time.svg" width="15" height="15"> Lunch</p>
<p><strong>13.00 - 14.00</strong> <img border="0" src="https://www.svgrepo.com/show/7321/teacher.svg" width="15" height="15"> Discussions and course end</p>
<strong>13.00 - 14.00</strong> <img border="0" src="https://www.svgrepo.com/show/7321/teacher.svg" width="15" height="15"> Discussions and course end (<a href="https://www.chalmers.se/en/persons/rasools/?tab=0">Rasool</a>)
<details>
<summary>
Resources
</summary>
<ul>
<li>
<a href="./session_intro/closing remark.pdf">Closing remarks!</a>
</li>
<li>
<a href="https://docs.google.com/forms/d/e/1FAIpQLSekELo0i71zPUpH-QYvi2TSFREIDH1g_y6qWZTlI_owLiHdcA/viewform">Course Evaluation</a>
</li>
</ul>
</details>
<p><br> <br></p>
<p><strong>Teachers:</strong> - <a href="https://portal.research.lu.se/en/persons/nikolay-oskolkov">Nikolay Oskolkov</a> - <a href="https://www.chalmers.se/en/persons/rasools/?tab=0">Rasool Saghaleyni</a> - <a href="https://www.chalmers.se/en/persons/netotea/">Sergiu Netotea</a></p>
<p><strong>Teaching assistants:</strong> - <a href="https://portal.research.lu.se/en/persons/yuan-li">Yuan Li</a> - <a href="https://www.uu.se/en/contact-and-organisation/staff?query=N23-2571">Jennifer Fransson</a> - <a href="https://www.linkedin.com/posts/ebmeyerst_antibiotic-bioinformatics-wastewater-activity-7049055463090343936-pM0I/">Stefan Ebmeyer</a></p>
Expand Down Expand Up @@ -600,27 +611,10 @@ <h5 class="anchored" data-anchor-id="day-5">Day 5</h5>
// clear code selection
e.clearSelection();
});
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
var mailtoRegex = new RegExp(/^mailto:/);
var filterRegex = new RegExp('/' + window.location.host + '/');
var isInternal = (href) => {
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
}
// Inspect non-navigation links and adorn them if external
var links = window.document.querySelectorAll('a[href]:not(.nav-link):not(.navbar-brand):not(.toc-action):not(.sidebar-link):not(.sidebar-item-toggle):not(.pagination-link):not(.no-external):not([aria-hidden]):not(.dropdown-item):not(.quarto-navigation-tool)');
for (var i=0; i<links.length; i++) {
const link = links[i];
if (!isInternal(link.href)) {
// undo the damage that might have been done by quarto-nav.js in the case of
// links that we want to consider external
if (link.dataset.originalHref !== undefined) {
link.href = link.dataset.originalHref;
}
}
}
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {
function tippyHover(el, contentFn) {
const config = {
allowHTML: true,
content: contentFn,
maxWidth: 500,
delay: 100,
arrow: false,
Expand All @@ -630,17 +624,8 @@ <h5 class="anchored" data-anchor-id="day-5">Day 5</h5>
interactive: true,
interactiveBorder: 10,
theme: 'quarto',
placement: 'bottom-start',
placement: 'bottom-start'
};
if (contentFn) {
config.content = contentFn;
}
if (onTriggerFn) {
config.onTrigger = onTriggerFn;
}
if (onUntriggerFn) {
config.onUntrigger = onUntriggerFn;
}
window.tippy(el, config);
}
const noterefs = window.document.querySelectorAll('a[role="doc-noteref"]');
Expand All @@ -652,130 +637,7 @@ <h5 class="anchored" data-anchor-id="day-5">Day 5</h5>
try { href = new URL(href).hash; } catch {}
const id = href.replace(/^#\/?/, "");
const note = window.document.getElementById(id);
if (note) {
return note.innerHTML;
} else {
return "";
}
});
}
const xrefs = window.document.querySelectorAll('a.quarto-xref');
const processXRef = (id, note) => {
// Strip column container classes
const stripColumnClz = (el) => {
el.classList.remove("page-full", "page-columns");
if (el.children) {
for (const child of el.children) {
stripColumnClz(child);
}
}
}
stripColumnClz(note)
if (id === null || id.startsWith('sec-')) {
// Special case sections, only their first couple elements
const container = document.createElement("div");
if (note.children && note.children.length > 2) {
container.appendChild(note.children[0].cloneNode(true));
for (let i = 1; i < note.children.length; i++) {
const child = note.children[i];
if (child.tagName === "P" && child.innerText === "") {
continue;
} else {
container.appendChild(child.cloneNode(true));
break;
}
}
if (window.Quarto?.typesetMath) {
window.Quarto.typesetMath(container);
}
return container.innerHTML
} else {
if (window.Quarto?.typesetMath) {
window.Quarto.typesetMath(note);
}
return note.innerHTML;
}
} else {
// Remove any anchor links if they are present
const anchorLink = note.querySelector('a.anchorjs-link');
if (anchorLink) {
anchorLink.remove();
}
if (window.Quarto?.typesetMath) {
window.Quarto.typesetMath(note);
}
// TODO in 1.5, we should make sure this works without a callout special case
if (note.classList.contains("callout")) {
return note.outerHTML;
} else {
return note.innerHTML;
}
}
}
for (var i=0; i<xrefs.length; i++) {
const xref = xrefs[i];
tippyHover(xref, undefined, function(instance) {
instance.disable();
let url = xref.getAttribute('href');
let hash = undefined;
if (url.startsWith('#')) {
hash = url;
} else {
try { hash = new URL(url).hash; } catch {}
}
if (hash) {
const id = hash.replace(/^#\/?/, "");
const note = window.document.getElementById(id);
if (note !== null) {
try {
const html = processXRef(id, note.cloneNode(true));
instance.setContent(html);
} finally {
instance.enable();
instance.show();
}
} else {
// See if we can fetch this
fetch(url.split('#')[0])
.then(res => res.text())
.then(html => {
const parser = new DOMParser();
const htmlDoc = parser.parseFromString(html, "text/html");
const note = htmlDoc.getElementById(id);
if (note !== null) {
const html = processXRef(id, note);
instance.setContent(html);
}
}).finally(() => {
instance.enable();
instance.show();
});
}
} else {
// See if we can fetch a full url (with no hash to target)
// This is a special case and we should probably do some content thinning / targeting
fetch(url)
.then(res => res.text())
.then(html => {
const parser = new DOMParser();
const htmlDoc = parser.parseFromString(html, "text/html");
const note = htmlDoc.querySelector('main.content');
if (note !== null) {
// This should only happen for chapter cross references
// (since there is no id in the URL)
// remove the first header
if (note.children.length > 0 && note.children[0].tagName === "HEADER") {
note.children[0].remove();
}
const html = processXRef(null, note);
instance.setContent(html);
}
}).finally(() => {
instance.enable();
instance.show();
});
}
}, function(instance) {
return note.innerHTML;
});
}
let selectedAnnoteEl;
Expand Down Expand Up @@ -819,7 +681,6 @@ <h5 class="anchored" data-anchor-id="day-5">Day 5</h5>
}
div.style.top = top - 2 + "px";
div.style.height = height + 4 + "px";
div.style.left = 0;
let gutterDiv = window.document.getElementById("code-annotation-line-highlight-gutter");
if (gutterDiv === null) {
gutterDiv = window.document.createElement("div");
Expand All @@ -845,32 +706,6 @@ <h5 class="anchored" data-anchor-id="day-5">Day 5</h5>
});
selectedAnnoteEl = undefined;
};
// Handle positioning of the toggle
window.addEventListener(
"resize",
throttle(() => {
elRect = undefined;
if (selectedAnnoteEl) {
selectCodeLines(selectedAnnoteEl);
}
}, 10)
);
function throttle(fn, ms) {
let throttle = false;
let timer;
return (...args) => {
if(!throttle) { // first call gets through
fn.apply(this, args);
throttle = true;
} else { // all the others get throttled
if(timer) clearTimeout(timer); // cancel #2
timer = setTimeout(() => {
fn.apply(this, args);
timer = throttle = false;
}, ms);
}
};
}
// Attach click handler to the DT
const annoteDls = window.document.querySelectorAll('dt[data-target-cell]');
for (const annoteDlNode of annoteDls) {
Expand Down Expand Up @@ -934,5 +769,4 @@ <h5 class="anchored" data-anchor-id="day-5">Day 5</h5>




</body></html>
9 changes: 8 additions & 1 deletion schedule.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,14 @@ title: 'Schedule - Omics integration and systems biology - 2024'

**12.00 - 13.10** <img border="0" src="https://www.svgrepo.com/show/21938/time.svg" width="15" height="15"> Lunch

**13.00 - 14.00** <img border="0" src="https://www.svgrepo.com/show/7321/teacher.svg" width="15" height="15"> Discussions and course end
**13.00 - 14.00** <img border="0" src="https://www.svgrepo.com/show/7321/teacher.svg" width="15" height="15"> Discussions and course end ([Rasool][2])
<details>
<summary>Resources</summary>
<ul>
<li><a href="./session_intro/closing remark.pdf">Closing remarks!</a></li>
<li><a href="https://docs.google.com/forms/d/e/1FAIpQLSekELo0i71zPUpH-QYvi2TSFREIDH1g_y6qWZTlI_owLiHdcA/viewform">Course Evaluation</a></li>
</ul>
</details>

<br>
<br>
Expand Down
12 changes: 5 additions & 7 deletions schedule_files/libs/bootstrap/bootstrap.min.css

Large diffs are not rendered by default.

Binary file added session_intro/closing remark.pdf
Binary file not shown.

0 comments on commit 960fa13

Please sign in to comment.