Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed bug in fit_model that saves "model_clusters.rds" and "all_clu… #182

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

stephaniereinders
Copy link
Member

…sters.rds"

"model_clusters.rds" and "all_clusters.rds" contain the same data, so fit_model doesn't need to save both files.

I added an argument to get_clusters_batch called 'save_master_file' and made the default FALSE. If TRUE, "all_clusters.rds" will be saved.

Now, fit_model calls get_clusterassignment which calls get_clusters_batch with save_master_file = FALSE, so only "model_clusters.rds" is saved.

…sters.rds"

"model_clusters.rds" and "all_clusters.rds" contain the same data, so `fit_model` doesn't need to save both files.

I added an argument to `get_clusters_batch` called 'save_master_file' and made the default FALSE. If TRUE, "all_clusters.rds" will be saved.

Now, `fit_model` calls `get_clusterassignment` which calls `get_clusters_batch` with save_master_file = FALSE, so only "model_clusters.rds" is saved.
@stephaniereinders stephaniereinders linked an issue Aug 22, 2024 that may be closed by this pull request
@stephaniereinders stephaniereinders merged commit 32d80c5 into master Aug 22, 2024
1 check passed
@stephaniereinders stephaniereinders deleted the 181-model-throws-error branch September 4, 2024 14:42
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.

fit_model throws error "invalid 'nrow' value (too large)"
1 participant