{"action":"opened","issue":{"url":"https://api.github.com/repos/yeastrc/java-fasta-utils/issues/1","repository_url":"https://api.github.com/repos/yeastrc/java-fasta-utils","labels_url":"https://api.github.com/repos/yeastrc/java-fasta-utils/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/yeastrc/java-fasta-utils/issues/1/comments","events_url":"https://api.github.com/repos/yeastrc/java-fasta-utils/issues/1/events","html_url":"https://github.com/yeastrc/java-fasta-utils/issues/1","id":363313702,"node_id":"MDU6SXNzdWUzNjMzMTM3MDI=","number":1,"title":"FASTAFileParserFactory.getInstance() method is not static","user":{"login":"MrCreosote","id":1686141,"node_id":"MDQ6VXNlcjE2ODYxNDE=","avatar_url":"https://avatars1.githubusercontent.com/u/1686141?v=4","gravatar_id":"","url":"https://api.github.com/users/MrCreosote","html_url":"https://github.com/MrCreosote","followers_url":"https://api.github.com/users/MrCreosote/followers","following_url":"https://api.github.com/users/MrCreosote/following{/other_user}","gists_url":"https://api.github.com/users/MrCreosote/gists{/gist_id}","starred_url":"https://api.github.com/users/MrCreosote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrCreosote/subscriptions","organizations_url":"https://api.github.com/users/MrCreosote/orgs","repos_url":"https://api.github.com/users/MrCreosote/repos","events_url":"https://api.github.com/users/MrCreosote/events{/privacy}","received_events_url":"https://api.github.com/users/MrCreosote/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-24T20:45:50Z","updated_at":"2018-09-24T20:45:50Z","closed_at":null,"author_association":"NONE","body":"I feel like I'm missing something here, but in the README:\r\n```java\r\nFASTAFileParserFactory.getInstance().getFASTAFileParser(  new File( filename ) ) )\r\n```\r\n\r\n[getInstance()](https://github.com/yeastrc/java-fasta-utils/blob/master/src/main/org/yeastrc/proteomics/fasta/FASTAFileParserFactory.java#L26) is an instance method, not a static method and so can't be called unless you already have an instance, which you can only get via calling `getInstance()`.\r\n\r\nThe workaround is to C&P the contents of FASTAFileParserFactory.getFASTAFileParser() and use that instead."}}
{"actor":{"display_login":"MrCreosote"}}