Closed tedil closed 2 weeks ago
[!WARNING]
Rate limit exceeded
@tedil has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 20 minutes and 27 seconds before requesting another review.
β How to resolve this issue?
After the wait time has elapsed, a review can be triggered using the `@coderabbitai review` command as a PR comment. Alternatively, push new commits to this PR. We recommend that you space out your commits to avoid hitting the rate limit.π¦ How do rate limits work?
CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our [FAQ](https://coderabbit.ai/docs/faq) for further information.π₯ Commits
Reviewing files that changed from the base of the PR and between bce42d84411ad15765647ff2066dad32996444a8 and b6e869b73c390f570a17885effc05368c20a960b.
The changes introduce a new command-line option to the cli_caseimportinfo_create
function, allowing users to specify an index case in the pedigree. This is achieved by adding an optional index
parameter, which is incorporated into the CaseImportOptions
and CaseImporter
classes. The logic for selecting the index case has been updated to use this parameter if provided, enhancing the flexibility of the case import process without altering existing functionalities.
File Path | Change Summary |
---|---|
varfish_cli/cli/importer/init.py | Added index parameter to cli_caseimportinfo_create function, allowing specification of index case. |
varfish_cli/cli/importer/create.py | Updated CaseImportOptions and CaseImporter classes to include index attribute; modified logic in _create_case_import_info method to use self.index if provided. |
Objective | Addressed | Explanation |
---|---|---|
Add option to specify index patient during import (#133) | β |
π In the meadow, where bunnies play,
A new option has come to stay.
Specify your index with ease and cheer,
No more defaults, the choice is clear!
With each import, hop with delight,
The right case chosen, everything feels right! πΌ
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
If no manual index is specified, ideally the index should be assigned to the first affected sample in the pedigree, not just the first sample overall.
Attention: Patch coverage is 80.00000%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 83.33%. Comparing base (
878af61
) to head (0e78d9b
). Report is 19 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
varfish_cli/cli/importer/create.py | 80.00% | 1 Missing :warning: |
Resolves #133
Summary by CodeRabbit
New Features
caseimportinfo-create
command by allowing users to define the index case name.Bug Fixes