Skip to content

Commit b712d78

Browse files
committed
Update
1 parent fc80530 commit b712d78

7 files changed

Lines changed: 204 additions & 168 deletions

File tree

R/schedule.R

Lines changed: 56 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,10 @@ render_posters_section <- function(
183183
return(invisible(NULL))
184184
}
185185

186+
if( !"poster_nro" %in% colnames(posters) ){
187+
stop("Add poster numbers with add_poster_number()")
188+
}
189+
186190
cat("<h2 style='margin-top: 2.5em; margin-bottom: 0.4em;'>POSTERS</h2>\n")
187191
cat("<hr style='margin-top: 0; margin-bottom: 1.2em;'>\n")
188192
cat("<p>(In alphabetical order.)</p>\n")
@@ -193,26 +197,8 @@ render_posters_section <- function(
193197
posters <- posters |>
194198
arrange(is.na(day), day, presenter, title)
195199

196-
# Add poster number. One can specify them in with poster_nro column, or then
197-
# we assign them automatically.
198-
if ("poster_nro" %in% names(posters)) {
199-
used <- posters$poster_nro[!is.na(posters$poster_nro)]
200-
available <- setdiff(seq_len(nrow(posters)), used)
201-
posters <- posters |>
202-
mutate(
203-
idx = if_else(
204-
!is.na(poster_nro),
205-
poster_nro,
206-
available[cumsum(is.na(poster_nro))]
207-
)
208-
)
209-
} else {
210-
posters <- posters |>
211-
mutate(idx = seq_len(n()))
212-
}
213-
214200
posters <- posters |>
215-
arrange(idx)
201+
arrange(poster_nro)
216202

217203
posters_with_day <- posters |>
218204
filter(!is.na(day) & str_trim(day) != "")
@@ -248,7 +234,7 @@ render_posters_section <- function(
248234

249235
out <- day_df |>
250236
mutate(
251-
Author = paste0(idx, " ", htmlEscape(presenter)),
237+
Author = paste0(poster_nro, " ", htmlEscape(presenter)),
252238
Title = mapply(
253239
make_collapsible_title,
254240
title,
@@ -278,7 +264,7 @@ render_posters_section <- function(
278264

279265
out <- posters_without_day |>
280266
mutate(
281-
Author = paste0(idx, " ", htmlEscape(presenter)),
267+
Author = paste0(poster_nro, " ", htmlEscape(presenter)),
282268
Title = mapply(
283269
make_collapsible_title,
284270
title,
@@ -545,3 +531,52 @@ render_detailed_program <- function(
545531
full_width = full_width
546532
)
547533
}
534+
535+
add_poster_number <- function(sessions_csv = "../data/sessions.csv"){
536+
df <- read.csv(
537+
sessions_csv,
538+
stringsAsFactors = FALSE,
539+
na.strings = c("", "NA")
540+
) |>
541+
mutate(
542+
day = str_trim(coalesce(day, "")),
543+
time = str_trim(coalesce(time, "")),
544+
type = str_trim(coalesce(type, "")),
545+
title = str_trim(coalesce(title, "")),
546+
authors = str_trim(coalesce(authors, "")),
547+
presenter = str_trim(coalesce(presenter, "")),
548+
abstract = str_trim(coalesce(abstract, "")),
549+
time_min = parse_hm(time),
550+
type_norm = normalize_type(type)
551+
) |>
552+
fill_presenter()
553+
554+
posters <- df[df$type == "poster", , drop = FALSE]
555+
df <- df[df$type != "poster", , drop = FALSE]
556+
557+
# Sort in alphabetical order
558+
weekday_order <- wday(1:7, label = TRUE, abbr = TRUE, week_start = 1)
559+
posters$day <- factor(posters$day, level = levels(weekday_order))
560+
posters <- posters |>
561+
arrange(is.na(day), day, presenter, title)
562+
563+
# Add poster number
564+
if( "poster_nro" %in% colnames(posters) ){
565+
posters <- posters |>
566+
arrange(is.na(poster_nro), poster_nro, is.na(day), day, presenter, title)
567+
posters <- posters |>
568+
mutate(
569+
poster_nro = coalesce(poster_nro, seq_len(n()))
570+
)
571+
} else{
572+
posters <- posters |>
573+
mutate(poster_nro = seq_len(n()))
574+
}
575+
576+
# Add poster_nro column to original table if it does not exist yet
577+
df[["poster_nro"]] <- NA
578+
# Add posters back
579+
df <- rbind(df, posters)
580+
write.csv(df, sessions_csv, row.names = FALSE)
581+
return(NULL)
582+
}

_quarto.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ website:
1919
right:
2020
- href: pages/schedule.qmd
2121
- href: pages/speakers.qmd
22-
- href: pages/submissions.qmd
23-
- href: pages/registration.qmd
22+
#- href: pages/submissions.qmd
23+
#- href: pages/registration.qmd
2424
- href: pages/pre-conference.qmd
2525
- href: pages/conference-dinner.qmd
2626
- href: pages/hexwall.qmd
@@ -31,6 +31,8 @@ website:
3131
- href: pages/travel-information.qmd
3232
- href: pages/about-turku.qmd
3333
- href: pages/organizers.qmd
34+
- href: pages/submissions.qmd
35+
- href: pages/registration.qmd
3436
- href: pages/sticker-contest.qmd
3537
- href: pages/past-events.qmd
3638
- href: pages/code-of-conduct.qmd

data/sessions.csv

Lines changed: 122 additions & 122 deletions
Large diffs are not rendered by default.

index.qmd

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,11 @@ impacting computational biology.
3737

3838
::: {.promo-banner}
3939

40-
### Microbiome Workshop
40+
### Live streaming available
4141

42-
📅 June 1–2, EuroBioC2026 venue
42+
Can't attend in-person? Join us online **for free!**
4343

44-
Hands-on Bioconductor Carpentries training covering microbiome workflows, diversity analysis, differential abundance, and multi-omics integration.
45-
46-
**Registration is open now.**
47-
48-
**[Secure your spot](/pages/pre-conference.html#orchestrating-microbiome-analysis-with-bioconductor){.btn .btn-success .rounded-pill}**
44+
More information will be available soon.
4945

5046
:::
5147

@@ -76,15 +72,14 @@ countdown_timer("2026-06-03 09:00:00")
7672
- ~~**January 30**: Call for abstracts closes~~
7773
- ~~**January 31**: Sticker design contest closes~~
7874
- ~~**February 13**: Call for abstracts closes (final extended deadline)~~
79-
- **February 20**: Registration opens
80-
- **April 8**: Call for late-breaking poster abstract opens
75+
- ~~**February 20**: Registration opens~~
76+
- ~~**April 8**: Call for late-breaking poster abstract opens~~
8177
- ~~**May 3**: Call for late-breaking poster abstract closes~~
8278
- ~~**May 3**: Registration closes~~
83-
- <span class="deadline"><strong>May 18:</strong> Call for late-breaking poster abstract closes (final extended deadline)</span>
84-
- <span class="deadline"><strong>May 18:</strong> Registration closes (final extended deadline)</span>
85-
- **June 1-2**: Workshop and hackathon
86-
- **June 3-5**: The EuroBioC2026 conference!
87-
79+
- ~~**May 18**: Call for late-breaking poster abstract closes (final extended deadline)~~
80+
- ~~**May 18**: Registration closes (final extended deadline)~~
81+
- <span class="deadline"><strong>June 1-2:</strong> Workshop and hackathon</span>
82+
- <span class="deadline"><strong>June 3-5:</strong> The EuroBioC2026 conference!</span>
8883
:::
8984

9085
::: {.column width="5%"}

pages/pre-conference.qmd

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# Pre-conference events
22

3-
::: {.callout-tip title="Registration is open"}
3+
::: {.callout-important title="Registration is closed"}
44
Each event spans two days. Participants should register for **either** the workshop or the hackathon.
55

6+
<!--
67
**Register for:**
78
89
<a class="btn btn-success rounded-pill me-2" href="https://www.lyyti.fi/reg/EuroBioC_workshop">
@@ -12,7 +13,7 @@ Workshop
1213
<a class="btn btn-success rounded-pill" href="https://docs.google.com/forms/d/e/1FAIpQLSdQPwHgF7fJwfwkXxKPZeB5W_MjTMQpjLbRZj1ix-bA4vLYOg/viewform?usp=header">
1314
Hackathon
1415
</a>
15-
16+
-->
1617

1718
Registration closes on **Monday, May 18** (extended deadline), or earlier if capacity is reached.
1819
:::

pages/registration.qmd

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
# Registration
22

3-
::: {.callout-tip icon=false}
3+
::: {.callout-important icon=false}
44

5-
## Registration is open
5+
## Registration is closed
66

7+
<!--
78
Secure your place:
89
910
<a class="btn btn-success rounded-pill" href="https://www.lyyti.fi/reg/EuroBioC2026">
1011
Register
1112
</a>
13+
-->
1214

1315
Registration closes on **Monday, May 18** (extended deadline), or earlier if all places are filled.
1416
:::

pages/submissions.qmd

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,20 @@
22

33
## Call for abstracts
44

5-
::: {.callout-tip icon=false}
6-
## **Abstract call open**
5+
::: {.callout-important icon=false}
6+
## **Abstract call is closed**
77

88
**Important dates**
99

1010
- ~~**November 24**: Call for abstracts opens~~
1111
- ~~**January 30**: Call for abstracts closes~~
1212
- ~~**February 13**: Call for abstracts closes (final extended deadline)~~
13-
- **April 8**: Late-breaking poster abstract submission opens
14-
- **May 3**: Late-breaking poster abstract submission closes
13+
- ~~**April 8**: Late-breaking poster abstract submission opens~~
14+
- ~~**May 3**: Late-breaking poster abstract submission closes~~
1515

16+
<!--
1617
[Submit your abstract here!](https://forms.gle/rPQjjxF8KB2fPmBp7){target="_blank"}
17-
18+
-->
1819
:::
1920

2021
<!--

0 commit comments

Comments
 (0)