-
-
Notifications
You must be signed in to change notification settings - Fork 73
Add Codon Table JSON input / output #73
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
Conversation
…quence file to where the optimization table is actually build. This change allows faithful representation of codon tables generated from Sequence files.
TimothyStiles
left a comment
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 approve these changes but perhaps there's someone else who can review it too?
|
Any suggestions? |
|
I'm not sure. What I think I'll do before we merge is actually look up what this PRs test coverage is then review it again or merge it if it's good enough. |
|
Any way to have a little bot that tells us that on the PRs directly or something? |
|
According to func ReadCodonJSON(path string) CodonTable {
file, err := ioutil.ReadFile(path)
if err != nil {
// return 0, fmt.Errorf("Failed to open file %s for unpack: %s", gzFilePath, err)
}Not really sure how to test that, but basically I have coverage for things other than that. This, btw, doesn't have a test for any of the other read functions. |
This adds features+test to import or export codon tables as JSON files. This does NOT add in that feature for the command line interface - I am building it to import as part of a webservice that supplies codon tables as JSON.
Probably good to add it into the CLI, but honestly I might need some instruction on how to do that. I can set up an issue to do that, probably can come later.