Skip to content

Commit 70bee15

Browse files
committed
Bug fixing
1 parent 3b6b294 commit 70bee15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/site_info_qsim_ID.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ site_info_from_qsimID<- function(qsim_id){
1818
s2 <- strsplit(s1[2], "\\.")[[1]]
1919
list("river_name" = s1[1],
2020
"section_id" = s2[1],
21-
"section_name" = paste(s2[2:length(s2)], collapse = " "),
21+
"section_name" = paste(s2[-1], collapse = " "),
2222
"km" = as.numeric(s1[3]))
2323
}
2424

0 commit comments

Comments
 (0)