Skip to content

tiny-count: tutorial, project: refactor get-templates logic#272

Merged
taimontgomery merged 5 commits intomasterfrom
issue-270
Jan 9, 2023
Merged

tiny-count: tutorial, project: refactor get-templates logic#272
taimontgomery merged 5 commits intomasterfrom
issue-270

Conversation

@AlexTate
Copy link
Member

@AlexTate AlexTate commented Jan 9, 2023

This PR adds an additional tutorial file to the START_HERE directory for tiny-count. The get-templates functionality has been consolidated so that it can be shared by both the tiny and tiny-count commands, and its logic has been updated so that existing template files in the CWD are not overwritten.

If a template file already exists, no files are copied and the user is instructed to rename or remove the specific conflicting files. I chose this route over simply appending a (#) to the filename because doing so might require that the user also update the corresponding entries in the Paths File, and this might lead to a poor user experience at the onset of use.

This PR also updates some unrelated unit tests

Closes #270

…ng the original TUTORIAL.md to indicate that it pertains to tinyRNA and not tiny-count.
…that existing template files aren't overwritten if they already exist in the current working directory
…ding a minor correction to an unrelated unit test.
@AlexTate AlexTate requested a review from taimontgomery January 9, 2023 03:21
@taimontgomery
Copy link
Collaborator

Tested tiny-count --get-templates and read over tutorial.

@taimontgomery taimontgomery merged commit d84c109 into master Jan 9, 2023
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.

tiny-count: add tutorial to START_HERE directory

2 participants