update in-file paths to commit specific paths#4
update in-file paths to commit specific paths#4kristinebilgrav wants to merge 3 commits intooncorefinerfrom
Conversation
There was a problem hiding this comment.
Great! 🌟
After thinking about it a bit however, I'm not a hundred percent certain about this. I don't know if I understand all of the design choices about using a commit in the test-data-path place instead of just using dev.
I understand it means tests will be broken if things are updated in the datasets. But might it not be better, when updating the test-datasets to have a parallel branch in oncorefiner to update the tests.
Then in the feature-branch we just pull in dev and the tests should be fixed? 🤔 But maybe I'm missing something.
I just wonder that if we add the commit here, there's a chance we will lose track of it, and run into problems down the line, thinking we're using one file but actually using another.
Maybe it would be good to get @fevac and @beatrizsavinhas eyes here too 👀
|
Yeah... I was thinking that a solution like this will also add a lot of overhang that would be hard to maintain. So whenever we update testdata, we not only have to update the Perhaps I am actually for not making the |
|
We discussed this a bit earlier today, and the risk with not having I do agree that it will add complexity and risk when updating the test-dataset to have commit specific in-file paths, but I cannot come up with a better solution right now. 🤔 I dont think we need to be update the paths with every update to the dataset unless it affects those files. But of course it is still a risk. Maybe we need to keep in mind to update the in-file paths of those files when updating them. Could we add a checklist to this repo to remember to check those things? |
|
Hmm probably easier to talk which you've maybe already done! 😂 BUT! Yes...I understand that if we tie the test-path to the dev branch, this will make tests fail automatically in old versions of oncorefiner. But silly question probably, do we care if they fail? 😂 I feel like old versions are just locked and if we want to run them we just run them, and we don't care about tests then, but I'm probably missing something! |
Description
Closes https://github.com/Clinical-Genomics/MTP-oncoflow/issues/50
Changed
vep_files.csv,vcfanno_resources.txtandsvdb_querydb_files.csvTest
Review
Thanks for filling in who performed the code review and the test!
This version is a
Implementation Plan