-
Notifications
You must be signed in to change notification settings - Fork 12
our WDL files are too long #115
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
Comments
Oh no , this honestly a tedious task, do you mind if I just try to split the picard.wdl ? I would love to try that if you can assign the issue for me, thank you alot. |
Hi the team, I am Duy , a sophomore Bucknell Computer Science & Computer Engineering. I am really sorry to contribute to the project this late because I was having a family issue during March. I have experienced in full-stack and some ML/DL research. I also contribute to some project on github and I want to be the GSOCs 2025 for Jude Research Hospital this year. I have experienced with medical application and familiar with hospital settings. I will also put my LinkedIn here: https://www.linkedin.com/in/duy-le-dev/ |
@DuyLe0710edu - This issue is mostly a discussion place for proposals. We're not ready to implement anything. That said, we welcome any proposals for how to reorganize these long task documents. |
I'll single the 3 worst offenders out:
util.wdl
,samtools.wdl
, andpicard.wdl
have so many tasks in them it becomes difficult to find the one you're looking for. At least that's my experience. They are each >700 lines long, which I think in just about every other language would be considered a behemoth for maintenance. Most languages have recommended file lengths (guessing an average consensus would be around 500 lines?), I propose we adopt something similar for WDL/this repo.Although I don't want to base it off line number. I feel that can encourage some sloppy coding when the file in question is around the limit. e.g. collapsing lines that should be separated in order to keep below the length limit.
The below indented section would be me thinking out loud realizing all my ideas have some fatal flaw. I'm stumped as to how to solve the problem. Feel free to skip the indented section, or read it to see the thoughts I've had.
So I'm stumped. I still think our files are too long and they should be broken up. Or sorted, although I'd prefer a scheme for splitting files into smaller chunks. But I don't like any specific implementation I can come up with.
The best thing I thought of is alphabetizing tasks. I don't love it bc my brain is wired in a way finding things in an alphabetic sort isn't the easiest for me. But it's probably an overall improvement (especially while we lack any viable alternatives).
So, do we want to start alphabetizing our WDL files with many tasks? All our task files? Is there a threshold under which it's not worth the effort? Would that look strange, some files sorted, some not?
Opening the floor for proposals!
The text was updated successfully, but these errors were encountered: