Skip to content

Commit

Permalink
Update cultivar.R
Browse files Browse the repository at this point in the history
  • Loading branch information
Clzuy authored Oct 1, 2024
1 parent f647c68 commit 88efa73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/cultivar.R
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ update_cultivar <- function(l, df, add = TRUE, use_folder = TRUE,
i <- 1
for (i in seq(along = cultivars_name)) {
df_cultivar <- df[df$name == cultivars_name[i],]
commands <- paste0(df_cultivar$parameter, " = ", df_cultivar$value)
commands <- as.list(paste0(df_cultivar$parameter, " = ", df_cultivar$value))
# Search whether the cultivar existing
cultivar_node <- search_path(l, paste0("[", cultivars_name[i], "]"))
if (length(cultivar_node) != 0 &&
Expand Down

0 comments on commit 88efa73

Please sign in to comment.