Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sbalci committed Jul 10, 2024
1 parent 70c8544 commit 1777260
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion generate_html.R
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ html_text <- function(TemplateTR, TemplateEN, stain, dzi_info) {
'

html_text_list <- list()
for (s in stain) {
for (s in trimws(stain)) {
data <- list(
TemplateTR = TemplateTR,
TemplateEN = TemplateEN,
Expand Down
12 changes: 6 additions & 6 deletions generate_qmd.R
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ qmd_text <- paste(qmd_text, head_text, sep = "\n\n")

# screenshot render ----

for (s in stain) {
for (s in trimws(stain)) {
data_screenshot <- list(
template = template,
stain = s
Expand All @@ -371,7 +371,7 @@ qmd_text <- paste(qmd_text, tab1, sep = "\n\n")

# wsi_link_string render ----

for (s in stain) {
for (s in trimws(stain)) {
data_wsi_link <- list(
TemplateTR = TemplateTR,
TemplateEN = TemplateEN,
Expand All @@ -395,7 +395,7 @@ qmd_text <- paste(qmd_text, tab2, sep = "\n\n")

# wsi_string render ----

for (s in stain) {
for (s in trimws(stain)) {
data_wsi <- list(
TemplateTR = TemplateTR,
TemplateEN = TemplateEN,
Expand Down Expand Up @@ -728,7 +728,7 @@ readme_text <- paste(readme_text, head_text, sep = "\n\n")

## wsi_link_string render ----

for (s in stain) {
for (s in trimws(stain)) {
data_wsi <- list(
TemplateTR = TemplateTR,
TemplateEN = TemplateEN,
Expand All @@ -748,7 +748,7 @@ for (s in stain) {
#
# ## wsi_string render ----
#
# for (s in stain) {
# for (s in trimws(stain)) {
# data_wsi <- list(
# TemplateTR = TemplateTR,
# TemplateEN = TemplateEN,
Expand Down Expand Up @@ -783,7 +783,7 @@ if (use_youtube) {

## yaml_string render ----

for (s in stain) {
for (s in trimws(stain)) {
data_yaml <- list(
TemplateTR = TemplateTR,
TemplateEN = TemplateEN,
Expand Down

0 comments on commit 1777260

Please sign in to comment.