Skip to content

animl 3.2.0#97

Merged
tkswanson merged 13 commits intomasterfrom
dev
Feb 4, 2026
Merged

animl 3.2.0#97
tkswanson merged 13 commits intomasterfrom
dev

Conversation

@tkswanson
Copy link
Collaborator

No description provided.

@tkswanson tkswanson requested a review from matobler February 2, 2026 22:19
#' @param manifest dataframe containing file data and predictions
#' @param export_dir directory to sort files into
#' @param unique_name column name indicating a unique file name for each row
#' @param unique_name column containing unique file names
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a reason there is a default value for unique_name since this is a required parameters?

#' }
extract_frames <- function(files, frames=5, fps=NULL, out_file=NULL, out_dir=NULL,
file_col="filepath", parallel=FALSE, num_workers=1){
file_col="filepath", parallel=TRUE, num_workers=1){
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think parallel=TRUE and num_workers=1 are a good default. If the user does not provide either of those two then paralell shold be FALSE, or is ther any advantage in spinning up a singel parallel worker?

# Setup
#-------------------------------------------------------------------------------
library(animl)
#load_animl()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move comment above code?

@tkswanson tkswanson merged commit c02286c into master Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants