From 6d93276cd98d6348d35c15f14d351dca93459516 Mon Sep 17 00:00:00 2001 From: Saskia Hiltemann Date: Wed, 5 Jun 2024 16:23:13 +0200 Subject: [PATCH 1/4] add find to organisations, restore links to Slack and Zoom --- events/2024-06-10-mtb-ngs.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/events/2024-06-10-mtb-ngs.html b/events/2024-06-10-mtb-ngs.html index a4bc28c0606669..fc533e68bea10a 100644 --- a/events/2024-06-10-mtb-ngs.html +++ b/events/2024-06-10-mtb-ngs.html @@ -32,6 +32,7 @@ - pangens - irccs - linq + - find - panacea - edctp - edctp-eu @@ -536,6 +537,9 @@ ## Communication +- Chat on Slack channel [#event-mtb-ngs](https://gtnsmrgsbord.slack.com/?redir=%2Farchives%2FC01MNM98X9V%3Fname%3DC01MNM98X9V) (see "Setup" for instructions) +- Scheduled Questions & Answer sessions (Q&A) on [Zoom](https://swisstph.zoom.us/j/88614333103?pwd=OVVjeG04a2lVMXB0THUxMXoxNUNkdz09) + A Slack channel will allow participants to communicate in real-time via chat. The channel should be used to troubleshoot and to get to know each other. There will be scheduled zoom sessions (Q&A) every day where you can meet the experts, discuss and ask questions (check the program to know the time and be aware of the difference in time zone). If you are in Asia you can attend the zoom sessions in the morning, if you are in America you can attend the sessions in the afternoon, no need to be there all the time. From f5606ccac257320970a1b0909694e245b94b8362 Mon Sep 17 00:00:00 2001 From: Saskia Hiltemann Date: Wed, 5 Jun 2024 16:23:37 +0200 Subject: [PATCH 2/4] add description to FIND project --- ORGANISATIONS.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/ORGANISATIONS.yaml b/ORGANISATIONS.yaml index 9db7b632b36b7c..ca83ccda83be10 100644 --- a/ORGANISATIONS.yaml +++ b/ORGANISATIONS.yaml @@ -77,6 +77,7 @@ eu: find: name: FIND + description: The Foundation for Innovative New Diagnostics url: https://www.finddx.org/ avatar: "/training-material/shared/images/FIND.png" github: false From 93bad5716e12f172ef004fd9a0b9ac573b00cc42 Mon Sep 17 00:00:00 2001 From: Helena Rasche Date: Wed, 5 Jun 2024 17:36:16 +0200 Subject: [PATCH 3/4] load safely --- bin/prepare_feedback.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/prepare_feedback.rb b/bin/prepare_feedback.rb index f81a7241b400b9..88c504c4041cda 100755 --- a/bin/prepare_feedback.rb +++ b/bin/prepare_feedback.rb @@ -1,6 +1,7 @@ #!/usr/bin/env ruby # frozen_string_literal: true +require './_plugins/util' require 'yaml' require 'csv' @@ -37,12 +38,12 @@ def lookup_tuto(topic_id, tuto_id) file = "topics/#{topic_id}/tutorials/#{tuto_id}/tutorial.md" if File.exist? file - data = YAML.load_file(file) + data = safe_load_yaml(file) @cache[key] = data['title'] else file = "topics/#{topic_id}/tutorials/#{tuto_id}/slides.html" if File.exist? file - data = YAML.load_file(file) + data = safe_load_yaml(file) @cache[key] = data['title'] else puts "No file for #{topic_id}/#{tuto_id}" @@ -57,7 +58,7 @@ def lookup_topic(topic_id) file = "metadata/#{topic_id}.yaml" return nil unless File.exist? file - data = YAML.load_file(file) + data = safe_load_yaml(file) @cache[key] = data['title'] end end From 422987de1ec6d03043be9c6e3677a76ff43f7da4 Mon Sep 17 00:00:00 2001 From: Helena Rasche Date: Wed, 5 Jun 2024 17:39:57 +0200 Subject: [PATCH 4/4] another --- bin/filter-pyolite-safe | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/filter-pyolite-safe b/bin/filter-pyolite-safe index da0c4cb92c1e13..710a88bca0b780 100755 --- a/bin/filter-pyolite-safe +++ b/bin/filter-pyolite-safe @@ -1,12 +1,13 @@ #!/usr/bin/env ruby # frozen_string_literal: true +require './_plugins/util' require 'yaml' require 'find' Find.find('topics/').each do |fn| if File.basename(fn) == 'tutorial.md' - data = YAML.load_file(fn) + data = safe_load_yaml(fn) if data.key?('notebook') && (data['notebook'].key? 'pyolite') parts = fn.split('/') puts "_site/training-material/#{parts[0..-2].join('/')}/#{parts[1]}-#{parts[3]}.ipynb"