Title: read_fasta_file_short_names crashes when chromosome name does not have spaces · Issue #38 · smithlabcode/smithlab_cpp · GitHub
Open Graph Title: read_fasta_file_short_names crashes when chromosome name does not have spaces · Issue #38 · smithlabcode/smithlab_cpp
X Title: read_fasta_file_short_names crashes when chromosome name does not have spaces · Issue #38 · smithlabcode/smithlab_cpp
Description: read_fasta_file_short_names under smithlab_os.cpp uses the find_first_of function to call a substring of the chromosome name. When the name doesn't contain spaces it returns string::npos and it throws a runtime error because the end iter...
Open Graph Description: read_fasta_file_short_names under smithlab_os.cpp uses the find_first_of function to call a substring of the chromosome name. When the name doesn't contain spaces it returns string::npos and it thr...
X Description: read_fasta_file_short_names under smithlab_os.cpp uses the find_first_of function to call a substring of the chromosome name. When the name doesn't contain spaces it returns string::npos and it...
Opengraph URL: https://github.com/smithlabcode/smithlab_cpp/issues/38
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"read_fasta_file_short_names crashes when chromosome name does not have spaces","articleBody":"`read_fasta_file_short_names` under `smithlab_os.cpp` uses the `find_first_of` function to call a substring of the chromosome name. When the name doesn't contain spaces it returns `string::npos` and it throws a runtime error because the end iterator is before the start iterator (which we add 1 because of the `\u003e` character).","author":{"url":"https://github.com/guilhermesena1","@type":"Person","name":"guilhermesena1"},"datePublished":"2021-07-03T04:25:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/38/smithlab_cpp/issues/38"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f0834a3b-cd80-f372-5bfc-1745be4bafe9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ACE0:29351B:249633:304B5A:698D48C7 |
| html-safe-nonce | c55ef2d6cda7b28a39557a95e63ed92cc217945a80148eaf38d263fa65aa9eda |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0UwOjI5MzUxQjoyNDk2MzM6MzA0QjVBOjY5OEQ0OEM3IiwidmlzaXRvcl9pZCI6Ijg2MzA0MzA1NzMzODk0OTg1NjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | dbc402db5c795b8ee07d37a2bed7a75b60b8847e564291e853c719bcee0eaa8b |
| hovercard-subject-tag | issue:936167927 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/smithlabcode/smithlab_cpp/38/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ef439027ed26f03ee96ff8b7f7c198f32e88b29c8d3498bb3b54d72726fb9639/smithlabcode/smithlab_cpp/issues/38 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ef439027ed26f03ee96ff8b7f7c198f32e88b29c8d3498bb3b54d72726fb9639/smithlabcode/smithlab_cpp/issues/38 |
| og:image:alt | read_fasta_file_short_names under smithlab_os.cpp uses the find_first_of function to call a substring of the chromosome name. When the name doesn't contain spaces it returns string::npos and it thr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | guilhermesena1 |
| hostname | github.com |
| expected-hostname | github.com |
| None | c0818105fa276287e9369cfdefa0a0fa7953719791ceff9b94d69623c0a4fe8a |
| turbo-cache-control | no-preview |
| go-import | github.com/smithlabcode/smithlab_cpp git https://github.com/smithlabcode/smithlab_cpp.git |
| octolytics-dimension-user_id | 7265986 |
| octolytics-dimension-user_login | smithlabcode |
| octolytics-dimension-repository_id | 18970036 |
| octolytics-dimension-repository_nwo | smithlabcode/smithlab_cpp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 18970036 |
| octolytics-dimension-repository_network_root_nwo | smithlabcode/smithlab_cpp |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a95a17cc440c14d4fcddc0641bc1136fa8d908f0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width