Skip to content

Commit

Permalink
update news v1.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondben committed Apr 25, 2024
1 parent 2b1cc98 commit 7c974fa
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: datavolley
Title: Reading and Analyzing DataVolley Scout Files
Version: 1.7.2
Version: 1.7.3
Authors@R: c(person("Ben", "Raymond", email = "[email protected]", role = c("aut", "cre")),
person("Adrien", "Ickowicz", role = "aut"),
person("Tyler", "Widdison", role = "aut"),
Expand Down
8 changes: 8 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
datavolley 1.7.3
================
- minor bugfixes

datavolley 1.7.1
================
- the evaluation string used for a set with a "/" evaluation code has been changed from "Error (reach over net)" to just "Error" for consistency with other skills (applies to files using VolleyMetrics conventions only)

datavolley 1.7.0
================
- fixes to support files using sideout scoring
Expand Down
4 changes: 2 additions & 2 deletions R/plays.R
Original file line number Diff line number Diff line change
Expand Up @@ -1007,8 +1007,8 @@ parse_code <- function(code, meta, evaluation_decoder, code_line_num, full_lines
}
## fill in player_name and player_id from player_number
idx <- !is.na(out_player_number)
out_player_name[idx] <- get_player_name(out_team[idx],out_player_number[idx],meta)
out_player_id[idx] <- get_player_id(out_team[idx],out_player_number[idx],meta)
out_player_name[idx] <- get_player_name(out_team[idx], out_player_number[idx], meta)
out_player_id[idx] <- get_player_id(out_team[idx], out_player_number[idx], meta)
dudidx <- (!is.na(out_player_number) & is.na(out_player_name)) | grepl("unknown player", out_player_name, ignore.case = TRUE)
if (any(dudidx))
msgs <- collect_messages(msgs,paste0("Player number ",out_player_number[dudidx]," could not be resolved to a player name/id"),code_line_num[dudidx],full_lines[dudidx],severity=2)
Expand Down

0 comments on commit 7c974fa

Please sign in to comment.