Skip to content

Commit f2aa649

Browse files
committed
Updated task description
1 parent f5f95ea commit f2aa649

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

backend/src/main/kotlin/org/loculus/backend/service/seqsetcitations/SeqSetCrossRefCitationsTask.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ class SeqSetCrossRefCitationsTask(
3737
) {
3838
/**
3939
* Runs every six hours, with an initial delay of one minute.
40-
* Adds citation sources from CrossRef, and connects to SeqSets via their DOI.
40+
*
41+
* The task checks that the CrossRef service is active and a DOI prefix is configured for the Loculus instance.
42+
* If configured, it retrieves all CrossRef forward links (citations) which begin with the instance's DOI prefix.
43+
* These forward links are then merged into unique citation sources, each with a set of the SeqSet DOIs they cite.
44+
* The citation sources are then inserted or updated in the database, and connected to SeqSets through their DOIs.
4145
*/
4246
@Scheduled(
4347
initialDelay = 1,

0 commit comments

Comments
 (0)