-
Notifications
You must be signed in to change notification settings - Fork 3
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
rnafusion HK tags as constants #2759
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.
Looks good 🙌
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.
Looks good! A bit unsure what the scope is - should all instances be switched or is that for a separate PR in some future?
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'm not particularly keen on adding these constants, mainly because they make it more difficult to visualise which set of tags we are delivering and further expand the problem of having the tag logic in two different places, Hermes and CG.
Perhaps this issue needs to be further refined:
- Are these constants file-specific? I don't think so. Should they be? I don't know. Maybe having constants for file names that are assigned a bunch of tags isn't a bad idea.
- Why are we having this logic on both sides (Hermes and CG) and not using the
deliver
tag that we add in Hermes? - If we use the
deliver
tag, how do we differentiate betweendeliver-sample
anddeliver-case
? Perhaps that's what we need to actually fix and deliver using only those two tags.
@ivadym This pr only replaces strings by constants and I don't think the use of constants make it more difficult to visualize which set of tags are used. It's the opposite to me and it also makes it easier to pinpoint tags that should be the same. I agree that the duplication between hermes and cg is a problem and should be revisited but this PR doesn't expand the problem further.
Some are some are not. I don't think how this is relevant for this.
I don't know and I fully agree. But that is 100% out of the scope of this PR
Good point I do agree duplication between cg and hermes should be addressed, but in the meantime. Should I leave this as constant or strings? I don't mind which way. I do see benefit of removing strings that are redundant but I don't really care one way or another. |
For me it would make more sense to define files as constants that contain a set of tags. But as you said, some are file specific, some are not. And it's out of scope of this PR 🙃
I think you should proceed with it. Although it doesn’t add any additional semantic meaning it will help to keep our coding style consistent And thanks for opening the issue ⭐ |
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
tests are passing |
Description
Closes #2743
Changed
How to prepare for test
us
paxa
How to test
cg upload -c RNAFUSION_CASE
. Make sure it's successfulExpected test outcome
Review
Thanks for filling in who performed the code review and the test!
This version is a
Implementation Plan