-
Notifications
You must be signed in to change notification settings - Fork 1
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
Opening discussion about samplesheet_generator #1
Conversation
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 haven't looked at the code yet but I think the README looks good and is very informative. I had some ideas and comments I included but nothing major except streamlining the use of the nextflow samplesheet a bit more. But we might need to have a discussion about that to consider every aspect. In general, good work, Tina! 👍
|
|
|
|
parser.add_argument('-t', '--index-type', help='Type of indexes, allowed values are \'dual\' and \'simple\'.', required=True, type=str, choices=['dual', 'single']) or similar. |
FROM python:3.11.4-slim
ENV PATH=$PATH:/opt
COPY requirements.txt /
RUN pip install --no-cache-dir -r requirements.txt \
&& rm requirements.txt
COPY samplesheet_generator.py /opt/
COPY indexes /opt/indexes You don't need to update any packages if you don't install anything. And as I said earlier, the test data does not need to be there. I think it is good that you use the slim image to have a smaller size and also nicely done that you remove |
Will be removed.
|
Will be removed.
|
…ed unnecessary value testing.
Thanks, can try to add unit tests, can you just quicky point me to some sensible howto? Choices will be added.
|
Will be adjusted.
|
I don't have too strong opinions on licensing, just wanted it to be open. However, I feel like licensing is for a bit more general discussion and that it would make sense to have a common agreement on this in InPreD, but not sure how and who shall do it... maybe could be discussed during the workshop though.
|
I think I like this one for unit testing: https://www.datacamp.com/tutorial/pytest-tutorial-a-hands-on-guide-to-unit-testing. Aparently, unit test classes are not so desirable due to a lack of debug information and more boiler plate code - I used them for the local app prepper but will change them there as well. You can check out the repo for where to put your tests at least so that we keep it consistent: https://github.com/InPreD/local_app_prepper/tree/develop/prepper/tests I hope this helps and if you add them to this PR or create a new one, we can simply look at them and discuss anything in the PR directly. 😉 |
I think it would be good to discuss that, for sure. 👍 |
…in.yml Co-authored-by: Martin Rippin <[email protected]>
Ok, so testing works, building does not due to authentication as was expected and would resolve after merging. I'lll have a look at the other pytest repo later today or so. |
…with a python-version matrix.
Hello everyone,
this is a first functional version of a samplesheet generator that can eventually become used by the nextflow pipeline in the situations when a samplesheet is not transferred from an instrument after a sequencing is performed.
In this specific pull request there are only some minor changes to the README.md file, but please have a look into the whole repo, any feedback and comments are more than welcome.
When we are done discussing about the feedback, please remember to approve the pull request so that it can get merged into the inpred/samplesheet_generator repository.