Add sec tsv parser#31
Conversation
…ng for section heading instead of empty lines
|
Very nice work, Martin! :-D I expect the current code to do the desired job with the Local App and Dragen files that we plan to utilize. I have a few topics we can discuss further:
|
Thank you 🙂
Completely agree, let's add some docs. I guess it is also good practice for all of us to document the major classes and functions to a certain extend.
The only reason that I am mixing them is because different functions require different input types and it is mainly for checking if the tests work for different cases. I understand that as a reader it is difficult to follow. One solution could be to add a small description for each so you do not have to do any mental gymnastics but rather know instantly what the case is and you can assess whether cases are missing or not.
I see your point, however, premature optimization comes with a cost of spending more time but it might not have a use case for us. Let's wait until we actually encounter files that have empty rows within a section. If we keep the rest of the interface consistent, it is no problem for the places it was already used in other modules. Does that sound ok? |
Excellent. Do you have a vision of how to structure the documentation? Classes, functions, tools, ... As per Tina's comment to TSOPPI docs, we might want to have the technical documentation ("how to run things", what the inputs are, etc.), as well as documentation for those who want to be able to interpret the outputs (understanding the resulting plots is a completely different thing than running the analysis correctly).
That's a good solution. And: Very nice with the tests in the first place!
It does indeed! It's not like we don't have anything else to do.. :-) We can explicitly mention the assumption that 'empty lines are not appearing in the middle of a section' in the docs (together with any other implicit assumptions that we can identify). If it should become a problem in the future, the docs might help identify the issue. |
I started putting everything in Regarding interpretation of results, I am not sure if that should be part of the repo. These information would be for the molecular biologists, right? We could have a separate repo for that. Otherwise, I might opt for the actual nextflow workflow as this will link all tools and tsoppy together which produces the results that are used for interpretation. However, I think we can also decide on that later and even move it if we realize later that we made the wrong choice. What do you think?
Will add a comment. |
Superb!
I am not sure what the best solution would be. Mixing the technical documentation and an interpretation guide on the same page would probably be an annoyance to all users. :-p So I believe that separating the two in some way would make sense (that being said, they can both link to each other in a convenient way). We can indeed decide on this later, I just wanted to bring it up so that we are aware of it. :-)
Thanks! :-) |
I agree, linking them somehow would be good. Thanks for bringing it up |
danielvo
left a comment
There was a problem hiding this comment.
Excellent! I have nothing else to add. Many thanks, Martin! :-D
I have moved the section tsv parser to this branch and added unit tests along with test data, please check the test data and comment if there is anything else we want to check.