Skip to content
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

Handle more than 100 results from repo branch query #4

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

HDash
Copy link
Contributor

@HDash HDash commented Dec 3, 2024

With the current implementation, the branch is only searched for the first 100 query returns from GitHub API.

For example, the following command fails since "master" branch is not present in the first 100 branches.

https://github.com/neurogenomics/KGExplorer/blob/42d1f589ac6291449551d9ef92186446355b7d85/R/get_mondo_maps_files.R#L10-L12

With my implementation, the script now keeps querying successive branch query results until either a match is found, or end of the branch list is reached.

@HDash
Copy link
Contributor Author

HDash commented Dec 3, 2024

Fixes #5

@bschilder bschilder merged commit a4e4b26 into RajLabMSSM:master Dec 16, 2024
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants