Skip to content

Commit

Permalink
Merge pull request #5241 from shiltemann/events-updates
Browse files Browse the repository at this point in the history
Events framework updates
  • Loading branch information
shiltemann authored Aug 20, 2024
2 parents cad9281 + 57f86cb commit 25ff617
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 12 deletions.
6 changes: 4 additions & 2 deletions _layouts/event.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@
<h1>{{ event.title }}</h1>
<p>
{% if event.async %}Asynchronous, {% endif %}
{% if event.location.name == "Online" %}
{% if event.mode == "online" %}
Virtual course
{% else %}
{% elsif event.mode == "onsite" %}
In-person course
{% else %}
Hybrid course
{% endif %}
</p>
</hgroup>
Expand Down
6 changes: 5 additions & 1 deletion bin/schema-event.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,11 @@ mapping:
`true` for an asynchronous event. If this is true, we will not display any value for `time`s in the columns of the program
mode:
type: str
required: true
enum:
- online
- onsite
- blended
- hybrid
description: |
The mode of the event. For some reason the schema.org markup for this provides three separate axes (online/onsite/blended, synchronous/asynchronous, and full-time/part-time), but we're just going to use the first axis because there is no way to represent choices from each axis. Why, schema.org why‽ If you want to record async/sync please do so in the separate attribute, and we will not record full/part time.
registration:
Expand All @@ -206,6 +207,9 @@ mapping:
deadline:
required: true
type: date
open:
required: false
type: bool
feedback:
description: |
Link to the feedback form
Expand Down
4 changes: 3 additions & 1 deletion bin/validate-other.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
require './bin/gtn'

# Any error messages

ec = 0
learning_pathway_SCHEMA_UNSAFE = YAML.load_file('bin/schema-learning-pathway.yaml')
learning_pathway_SCHEMA = automagic_loading(learning_pathway_SCHEMA_UNSAFE)

Expand Down Expand Up @@ -47,6 +47,7 @@ def validate_document(document, validator)
# Otherwise, print errors and exit non-zero
puts "\e[48;5;09m#{file} has errors\e[m"
errs.each { |x| puts " #{x}" }
ec = 1
end
end

Expand Down Expand Up @@ -82,4 +83,5 @@ def validate_document(document, validator)
puts "\e[48;5;09m#{file} has errors\e[m"
errs.each { |x| puts " #{x}" }
end
exit ec
end
2 changes: 1 addition & 1 deletion events/2024-04-01-example-event.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ cost: free # Or, e.g. 150 EUR
audience: This event is intended for PhD students interested in Genomics. A basic knowledge in R is useful but not required.
contact_email: [email protected]
async: false # if asynchronous, we will not display the time columns on the program
mode: online # In-person
mode: online # online, onsite, or hybrid

registration:
link: https://example.org
Expand Down
12 changes: 6 additions & 6 deletions events/2024-07-22-freiburg-july.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ description: |
This course introduces scientists to the data analysis platform Galaxy. The course is a beginner course; no programming skills are required.
date_start: 2024-07-22
date_end: 2024-07-26
date_end: 2024-07-26

cost: free
cost: free
audience: Scientists with no or little Galaxy experience who want to analyse sequencing data.
contact_email: [email protected]
# async: false
mode: In-person
# async: false
mode: onsite

registration:
link: https://docs.google.com/forms/d/e/1FAIpQLSeGHShGhMvFvK0Jf3TNn0xgSMVboabWiTPfP2s3L1iDM0qTzA/viewform
Expand Down Expand Up @@ -47,14 +47,14 @@ infrastructure:
program:
- section: "Galaxy Freiburg workshop" # section title is optional
description: |
Next, you see the schedule for the full week. We will do at least one coffee break in the morning, one in the afternoon, and 1h lunch break around noon.
Next, you see the schedule for the full week. We will do at least one coffee break in the morning, one in the afternoon, and 1h lunch break around noon.
tutorials:
- type: custom
name: "Monday "
time: "09:15 - 16:00"
description: Introduction and Quality control
- name: galaxy-intro-peaks2genes
topic: introduction
topic: introduction
- name: quality-control
topic: sequence-analysis
- type: custom
Expand Down
3 changes: 2 additions & 1 deletion events/galaxy-academy-2024.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ date_end: 2024-10-11
cost: free
audience: Everyone who would like to get to know Galaxy and learn bioinformatics data analysis, whether you want to master a specific analysis or learn a new skill.
contact_email: [email protected]
async: true

async: true
mode: online

contributions:
organisers:
Expand Down
1 change: 1 addition & 0 deletions learning-pathways/fair-training.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ title: FAIR Data Management
description: |
The FAIR data management training learning pathway teaches you how to organise, describe, and store research data according to the FAIR principles (Findable, Accessible, Interoperable, Reusable).
tags: [fair, dmp, data management, data stewardship]
type: use

editorial_board:
- simleo
Expand Down

0 comments on commit 25ff617

Please sign in to comment.