Skip to content

Conversation

quantixed
Copy link

I have made some very minor changes to this (very useful) template. I wrote a whole post about why!

In brief:

  1. it's confusing for new coders to have to use open(input + File.separator + file); in processFile() but only if there are files to be processed that are in subdirectories, otherwise open(input + file); works fine. This inconsistency trips up many folks.
  2. the double slashes introduced by the template into the path maybe functional but are still a pain to deal with later on in an analysis pipeline.

It seems it was decided to keep the current format of this template. This PR fixes the template so that the double slashes are banished and people can just paste in their code without adding any File.separator shenanigans. There shouldn't be any back compatibility issues because this is only a template for new code.

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.

1 participant