-
Notifications
You must be signed in to change notification settings - Fork 520
Update internal repo docs for adding modules #2047
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
base: modules
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,11 +1,14 @@ | ||||||||||||||||||
| # How to add new test data | ||||||||||||||||||
| # How to add and use new test dataset | ||||||||||||||||||
|
|
||||||||||||||||||
| - collect/generate your test dataset | ||||||||||||||||||
| - make sure your test data is working with the module(s) it is designed for | ||||||||||||||||||
| - make a fork of the `nf-core/test-dataset` repository | ||||||||||||||||||
| - add the test data to your fork (checkout and use the `modules` branch) | ||||||||||||||||||
| - git fetch upstream modules | ||||||||||||||||||
| - git checkout -b modules upstream/modules | ||||||||||||||||||
| - git push -u origin modules | ||||||||||||||||||
| - make a pull request to the `modules` branch from your fork of `nf-core/test-datasets` | ||||||||||||||||||
| - once the pull request is accepted, you can change the paths to the test data for your module(s) on `nf-core/modules` | ||||||||||||||||||
| Please fill in the appropriate checklist below (delete whatever is not relevant). These are the most common things requested when adding a new test dataset. | ||||||||||||||||||
|
|
||||||||||||||||||
| - [ ] Familiarise yourself with the test-data [specifications](https://nf-co.re/docs/specifications/test-data/overview). | ||||||||||||||||||
| - [ ] Check [here](https://github.com/nf-core/test-datasets/branches/all) that there isn't already a branch containing data that could be used. | ||||||||||||||||||
| - If this is the case, follow the [documentation on how to use an existing test dataset](https://github.com/nf-core/test-datasets/blob/master/docs/USE_EXISTING_DATA.md) | ||||||||||||||||||
| - [ ] Fork the [nf-core/test-datasets repository](https://github.com/nf-core/test-datasets) to your GitHub account. | ||||||||||||||||||
| - [ ] Create a new branch on your fork. | ||||||||||||||||||
| - [ ] Add your test dataset. | ||||||||||||||||||
| - [ ] Warning: this repository is extremely large. If you clone locally, ensure you use the command `git clone <url> --branch <branch> --single-branch` to clone only the branch of interest. | ||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this should be before the fork imo, usually people fork and clone at once
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Eh? I don't follow. You would need to fork to your account, and then you would clone that, no?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yep, but people at this step usually already fork + clone, so will not read the next point before cloning.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok I didn't know you can fork and clone at the same time, so please make a suggestion 😬
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it's not really at the same time, but for example if you run
Comment on lines
+8
to
+11
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||
| - [ ] Make a PR on a new branch with a relevant name. | ||||||||||||||||||
|
jfy133 marked this conversation as resolved.
|
||||||||||||||||||
| - [ ] In case you accidentally commited large datasets in a PR, drop the specific commits using git rebase. | ||||||||||||||||||
| - [ ] Wait for the PR to be merged. Once merged, use your new test data as described on the main [README](https://github.com/nf-core/test-datasets/blob/master/docs/USE_EXISTING_DATA.md). | ||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure about this point...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've jsut copied from the
masterbranch docs which seems to be more up to date