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

Update Process_Folder.ijm #312

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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