-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add LSI #552
Add LSI #552
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.
Thank you! Overall, it looks good, but I left a few minor comments. Also, could you please add tests? I would test that:
- All output keys exist after running the component
- The
varm
contains correct information, when genes are subsetted - The
--overwrite
flag works correctly
Hi @SarahOuologuem thanks for opening this PR and thanks @VladimirShitov for the review! I read through it and left some comments with thoughts on some of the conversations. Let me know if I can be of more help to keep this PR moving forward! |
Hi @SarahOuologuem I noticed that you implemented tests, which is really great! Currently, the test data was not uploaded into our test s3 bucket. Could you provide me with a link so that I can download the data (assuming it is public)? I will put it in our bucket. Otherwise, I think we could quickly connect on slack. Thanks :) |
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 great to me. I love the tests! Waiting for them to pass, and I believe, it can be merged
src/dimred/lsi/config.vsh.yaml
Outdated
functionality: | ||
name: lsi | ||
namespace: "dimred" | ||
description: | |
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.
@SarahOuologuem , do you also want to put yourself in authors? :) You can find an example here:
- __merge__: /src/authors/dries_de_maeyer.yaml |
A general recommendation: it would be great to have more descriptive commit comments. For example "Change tabulation" or "Remove spaces" instead of "Small fixes". It would allow to quickly understand what happened without diving deeper in the code |
Hi Sarah! Have you tried running I get:
Does the same error show up when you run it locally? |
Hi Sarah! Just checking in with this PR. When would you have some time to look at the issue I posted? |
sorry for the very late reply! yes, the errors make sense, haven't checked the new test data, i only ran the tests on my old test data. |
I can take it over :) When I'll swim out of other work as well... |
@rcannood , @DriesSchaumont , I fixed the test, so it should be ready for merging or the final review :) |
required: false | ||
|
||
- name: "--scale_embeddings" | ||
type: boolean |
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 prefer boolean_false
or boolean_true
over just boolean. Could you check if one of these is appropriate?
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.
Thanks! I considered it, but here is the problem. I want to set the default to "True". To do that, we could use boolean_false
. But then the meaning of the argument has to be inverted to something like not_scale_embeddings
. I find it rather confusing. I'd leave it as is but I'm open to discussion :)
Co-authored-by: Dries Schaumont <[email protected]>
Co-authored-by: Dries Schaumont <[email protected]>
Co-authored-by: Dries Schaumont <[email protected]>
Co-authored-by: Dries Schaumont <[email protected]>
Co-authored-by: Dries Schaumont <[email protected]>
Co-authored-by: Dries Schaumont <[email protected]>
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.
LGTM! Thanks @VladimirShitov @SarahOuologuem
Co-authored-by: Vladimir Shitov <[email protected]>
Co-authored-by: Vladimir Shitov <[email protected]>
Changelog
Added LSI component
Issue ticket number and link
#398
Checklist before requesting a review
I have performed a self-review of my code
Conforms to the Contributor's guide
Check the correct box. Does this PR contain:
Proposed changes are described in the CHANGELOG.md
CI tests succeed!