bioinformatics-core-shared-training / Bulk_RNAseq_Course_Base

https://bioinformatics-core-shared-training.github.io/Bulk_RNAseq_Course_Base/
15 stars 14 forks source link

Error writing files - no results folder #22

Closed tavareshugo closed 1 year ago

tavareshugo commented 1 year ago

At several points in the materials results are written to a results folder. But this folder doesn't exist by default, so often people get errors such as:

write_tsv(annot.interaction.11, "results/Interaction.11_Results_Annotated.txt")
Error: Cannot open file for writing: 'results/Interaction.11_Results_Annotated.txt'

Can we come up with a way to avoid this? Perhaps we could create an empty folder ahead of the workshop to avoid this issue?

tavareshugo commented 1 year ago

We've included an empty results folder on the dropbox course files so this should not thrown an error anymore.