Skip to content

Commit

Permalink
only annotate the manifest, not folder
Browse files Browse the repository at this point in the history
  • Loading branch information
afwillia committed Oct 31, 2024
1 parent d0e214b commit c5f1731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.R
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,7 @@ shinyServer(function(input, output, session) {
if (startsWith(manifest_id(), "syn") == TRUE) {
# If enabled, annotate the file and folder with the data model
if (isTRUE(dcc_config_react()$dcc$data_model_version_as_annotation)) {
lapply(c(manifest_id(), selected$folder()), function(id) {
lapply(c(manifest_id()), function(id) { # add selected$folder() if annotating folder.
# Get existing annotations
annotations <- request(sprintf("https://repo-prod.prod.sagebase.org/repo/v1/entity/%s/annotations2", id)) |>
req_auth_bearer_token(access_token) |>
Expand Down

0 comments on commit c5f1731

Please sign in to comment.