Skip to content

Commit

Permalink
Manual loci without locus_id now work. Fixes #102
Browse files Browse the repository at this point in the history
  • Loading branch information
thackl committed Nov 30, 2021
1 parent 47c725a commit 8b85785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/focus.R
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ focus <- function(x, ..., .track_id=2, .max_dist = 10e3, .expand=5e3,
loci <- mutate(.loci, seq_id = as.character(seq_id))
if(!has_name(loci, "locus_id")){
loci <- loci %>% group_by({{ .locus_id_group }}) %>%
mutate(locus_id = str_glue({{.locus_id}})) %>%
mutate(locus_id = {{.locus_id}}) %>%
ungroup
}
}
Expand Down

0 comments on commit 8b85785

Please sign in to comment.