Skip to content

Commit 920128f

Browse files
committed
pubs fixes
1 parent b10f3ce commit 920128f

File tree

25 files changed

+165
-110
lines changed

25 files changed

+165
-110
lines changed

R/create_ppl_page.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# whois <- whois
33
# whois <- "Asia"
44

5-
load("bg_df_data.RData")
5+
load("data/bg_df_data.RData")
66
source('R/resume_fun.R')
77

88
create_ppl_page <- function(whois_full_name, whois, file_name){

R/resume_fun.R

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,8 @@ pubs <- function(whois, openalex_id){
6565
unlist(.) %>%
6666
tibble(position = .) %>%
6767
cbind(pub_mod, .)
68-
69-
# for (i in pub_overwrite %>% filter(who == whois) %>% select(doi) %>% as.vector()) {
70-
# pub_mod <- pub_mod %>%
71-
# mutate(position = if_else(str_detect(doi, i), "first", position))
72-
# }
73-
7468

69+
7570
pub_mod <- pub_mod$author %>%
7671
lapply(., function(x){
7772
number <- x$au_id %>% str_detect(openalex_id) %>% which(.)
@@ -81,10 +76,18 @@ pubs <- function(whois, openalex_id){
8176
tibble(corresponding = .) %>%
8277
cbind(pub_mod, .)
8378

84-
# for (i in pub_overwrite %>% filter(who == whois) %>% select(doi) %>% as.vector()) {
85-
# pub_mod <- pub_mod %>%
86-
# mutate(corresponding = if_else(str_detect(doi, i), TRUE, corresponding))
87-
# }
79+
80+
if((pub_overwrite %>% filter(who == whois & position == "first") %>% nrow()) > 0){
81+
for (i in pub_overwrite %>% filter(who == whois & position == "first") %>% select(doi) %>% as.vector()) {
82+
pub_mod <- pub_mod %>%
83+
mutate(position = if_else(str_detect(doi, i), "first", position))
84+
}}
85+
86+
if((pub_overwrite %>% filter(who == whois & corresponding == TRUE) %>% nrow()) > 0){
87+
for (i in pub_overwrite %>% filter(who == whois & corresponding == TRUE) %>% select(doi) %>% as.vector()) {
88+
pub_mod <- pub_mod %>%
89+
mutate(corresponding = if_else(str_detect(doi, i), TRUE, corresponding))
90+
}}
8891

8992
pub_mod %>%
9093
filter(type != "dataset") %>%

_freeze/subsite/colab/ks/execute-results/html.json

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

_freeze/subsite/team/jc/execute-results/html.json

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

_freeze/subsite/team/kg/execute-results/html.json

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

_freeze/subsite/team/mb/execute-results/html.json

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

_freeze/subsite/team/vi/execute-results/html.json

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

docs/index.html

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

docs/search.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@
466466
"href": "subsite/colab/ks.html",
467467
"title": "Katarzyna (Kasia) Sidorczuk",
468468
"section": "",
469-
"text": "📝 Bio\n\nHi! My name is Katarzyna Sidorczuk and I’m a bioinformatician interested in gut microbiome and use of machine learning for analysis of biological data.\nDuring my PhD I worked with BioGenies and created multiple tools for prediction of peptide activity and protein localization. This led us to the work on negative data sampling for AMP prediction in which we showed that commonly used strategies introduce significance bias and leads to unreliable benchmarks.\nCurrently, I’m a postdoc in the Hildebrand group at the Quadram Institute, where I work with strain-resolved metagenomics. I’m interested in evolution of gut microbiota, how microbes are transferred between family members, and what are the factors that contribute to successful colonization and persistence.\n\n\n📱 Contact\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n👏🏻 Conferences, workshops, training schools 🤝🏻"
469+
"text": "📝 Bio\n\nHi! My name is Katarzyna Sidorczuk and I’m a bioinformatician interested in gut microbiome and use of machine learning for analysis of biological data.\nDuring my PhD I worked with BioGenies and created multiple tools for prediction of peptide activity and protein localization. This led us to the work on negative data sampling for AMP prediction in which we showed that commonly used strategies introduce significance bias and leads to unreliable benchmarks.\nCurrently, I’m a postdoc in the Hildebrand group at the Quadram Institute, where I work with strain-resolved metagenomics. I’m interested in evolution of gut microbiota, how microbes are transferred between family members, and what are the factors that contribute to successful colonization and persistence.\n\n\n📱 Contact\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n👏🏻 Conferences, workshops, training schools 🤝🏻\n\n\n\n\n\n\n\n\n\n📖 Publications\n\n\n\nError in mutate(., position = if_else(str_detect(doi, i), \"first\", position)) : \n ℹ In argument: `position = if_else(str_detect(doi, i), \"first\",\n position)`.\nCaused by error in `str_detect()`:\n! Can't recycle `string` (size 22) to match `pattern` (size 0).\nError in mutate(., corresponding = if_else(str_detect(doi, i), TRUE, corresponding)) : \n ℹ In argument: `corresponding = if_else(str_detect(doi, i), TRUE,\n corresponding)`.\nCaused by error in `str_detect()`:\n! Can't recycle `string` (size 22) to match `pattern` (size 0)."
470470
},
471471
{
472472
"objectID": "subsite/colab/ea.html",
@@ -760,7 +760,7 @@
760760
"href": "subsite/posts/2025_02_24.html",
761761
"title": "Farewell to Ronja – our first Erasmus+ student! 🇩🇪💙",
762762
"section": "",
763-
"text": "Ronja’s Praxissemester with us has officially come to an end 😢. It feels like just yesterday she arrived, and now we’re saying goodbye to an amazing colleague and friend. We made sure her last days were filled with great memories!\n\n\n\nAs per BioGenies tradition, we ate a lot during these last days! 🥟🍰\n\n\n\n\nWe took a trip to Suprasł, where we learned how to read icons and soaked in the local history! 🎨\nRonja’s friend, Robin, also joined us to help her on her return trip, and he got to experience Supraśl with us as well! 🚗🌲\n \n \n\n\n\nBetween science and sightseeing, we even managed to learn some German and Polish together! 🇩🇪🇵🇱\n\n\n\n\n\n\n\n\nAnd of course, what would a BioGenies goodbye be without rushing to the train station at the last minute? As always, we were very late 😆 🏃‍♂️💨\n \nThe train station was bustling with people, and in a surprise twist, the Jagiellonia Białystok football team was also there, taking the train! ⚽😲\nRonja, thank you for everything – your dedication, hard work, and all the fun moments we shared. We’ll miss you, but we know you’ll do amazing things in the future! 💙"
763+
"text": "Ronja’s Praxissemester with us has officially come to an end 😢. It feels like just yesterday she arrived, and now we’re saying goodbye to an amazing colleague and friend. We made sure her last days were filled with great memories!\n\n\nAs per BioGenies tradition, we ate a lot during these last days! 🥟🍰\n\n\n\n\nWe took a trip to Suprasł, where we learned how to read icons and soaked in the local history! 🎨\nRonja’s friend, Robin, also joined us to help her on her return trip, and he got to experience Supraśl with us as well! 🚗🌲\n \n \n\n\n\nBetween science and sightseeing, we even managed to learn some German and Polish together! 🇩🇪🇵🇱\n\n\n\n\n\n\n\n\nAnd of course, what would a BioGenies goodbye be without rushing to the train station at the last minute? As always, we were very late 😆 🏃‍♂️💨\n \nThe train station was bustling with people, and in a surprise twist, the Jagiellonia Białystok football team was also there, taking the train! ⚽😲\nRonja, thank you for everything – your dedication, hard work, and all the fun moments we shared. We’ll miss you, but we know you’ll do amazing things in the future! 💙"
764764
},
765765
{
766766
"objectID": "subsite/posts/2025_02_24.html#eating-our-way-through-farewell-week",
@@ -858,7 +858,7 @@
858858
"href": "subsite/team/vi.html",
859859
"title": "Valentín Iglesias",
860860
"section": "",
861-
"text": "📱 Contact\n\n \n\n\n🚀 Research stays\n\n\n\n\n\n\n\n\n\n💻🧫 Experience\n\n\n\n\n\n\n\n\n\n🎓 Education\n\n\n Universitat Autònoma de Barcelona\n\n\nBiochemistry, Molecular Biology and Biomedicine (PhD Programme in Biochemistry, Molecular Biology and Biomedicine\n\n2025-02-25 - 2025-02-25 PhD thesis: Bioinformatic analysis on the determinants of protein aggregation and conformational conversion 📍 Bellaterra, Spain\n\n Universitat Autònoma de Barcelona\n\n\nBiochemistry\n\n2025-02-25 - 2025-02-25 📍 Bellaterra, Spain\n\n Universitat Autònoma de Barcelona\n\n\nAdvanced Biotechnology\n\n2025-02-25 - 2025-02-25 📍 Bellaterra, Spain\n\n Universitat de Girona\n\n\nMolecular Biology and Biomedicine\n\n2025-02-25 - 2025-02-25 📍 Girona, Spain\n\n\n👏🏻 Conferences, workshops, training schools 🤝🏻\n\n\n\n\n\n\n\n\n\n📖 Publications"
861+
"text": "📱 Contact\n\n \n\n\n🚀 Research stays\n\n\n\n\n\n\n\n\n\n💻🧫 Experience\n\n\n\n\n\n\n\n\n\n🎓 Education\n\n\n Universitat Autònoma de Barcelona\n\n\nBiochemistry, Molecular Biology and Biomedicine (PhD Programme in Biochemistry, Molecular Biology and Biomedicine\n\n2025-02-25 - 2025-02-25 PhD thesis: Bioinformatic analysis on the determinants of protein aggregation and conformational conversion 📍 Bellaterra, Spain\n\n Universitat Autònoma de Barcelona\n\n\nBiochemistry\n\n2025-02-25 - 2025-02-25 📍 Bellaterra, Spain\n\n Universitat Autònoma de Barcelona\n\n\nAdvanced Biotechnology\n\n2025-02-25 - 2025-02-25 📍 Bellaterra, Spain\n\n Universitat de Girona\n\n\nMolecular Biology and Biomedicine\n\n2025-02-25 - 2025-02-25 📍 Girona, Spain\n\n\n👏🏻 Conferences, workshops, training schools 🤝🏻\n\n\n\n\n\n\n\n\n\n📖 Publications\n\n\n\nError in mutate(., position = if_else(str_detect(doi, i), \"first\", position)) : \n ℹ In argument: `position = if_else(str_detect(doi, i), \"first\",\n position)`.\nCaused by error in `str_detect()`:\n! Can't recycle `string` (size 51) to match `pattern` (size 0).\nError in mutate(., corresponding = if_else(str_detect(doi, i), TRUE, corresponding)) : \n ℹ In argument: `corresponding = if_else(str_detect(doi, i), TRUE,\n corresponding)`.\nCaused by error in `str_detect()`:\n! Can't recycle `string` (size 51) to match `pattern` (size 0)."
862862
},
863863
{
864864
"objectID": "subsite/team.html",

docs/site_libs/bootstrap/bootstrap-dark.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)