You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gwas_paths<-MungeSumstats::import_sumstats(ids=meta$id,
save_dir=save_dir,
nThread=50,
parallel_across_ids=TRUE,
force_new_vcf=TRUE,
force_new=TRUE,
#### Record logslog_folder_ind=TRUE,
log_mungesumstats_msgs=TRUE)
Issue: part 1
If you run format_sumstats with the log file options set, but then try to later re-munge some of those files, the log files from the previous runs get appended with the output from the new runs.
Here, you can see where it finished the old run and started the new run right around the middle ("Importing VCF file: ..."):
Issue: part 2
Also, I noticed that If I start the above code, but then stop it midway, do some stuff in the R console , and then run it again, it will start recording my output from the console! (not the output of the munging process). This also gets appended to any pre-existing log files.
Session info
The text was updated successfully, but these errors were encountered:
I don't know if there is a good way around part 2 issue, this is an annoyance with the sink() function, you have to close connections to the file you are logging results to:
Reprex
Issue: part 1
If you run
format_sumstats
with the log file options set, but then try to later re-munge some of those files, the log files from the previous runs get appended with the output from the new runs.Here, you can see where it finished the old run and started the new run right around the middle ("Importing VCF file: ..."):
Issue: part 2
Also, I noticed that If I start the above code, but then stop it midway, do some stuff in the R console , and then run it again, it will start recording my output from the console! (not the output of the munging process). This also gets appended to any pre-existing log files.
Session info
The text was updated successfully, but these errors were encountered: