Skip to content

Remove unnecessary conversions - #275

Merged
TimothyStiles merged 1 commit into
bebop:mainfrom
matiasinsaurralde:remove-conversions
Oct 15, 2022
Merged

Remove unnecessary conversions#275
TimothyStiles merged 1 commit into
bebop:mainfrom
matiasinsaurralde:remove-conversions

Conversation

@matiasinsaurralde

Copy link
Copy Markdown
Contributor

Removes a few unnecessary conversions reported by unconvert:

% golangci-lint run -E unconvert ./...
io/gff/gff.go:253:26: unnecessary conversion (unconvert)
		featureStrand := string(feature.Strand)
		                       ^
io/genbank/genbank.go:748:30: unnecessary conversion (unconvert)
	baseSequenceLength := string(basePairRegex.FindString(locusString))
	                            ^
synthesis/codon/codon.go:426:27: unnecessary conversion (unconvert)
	_ = json.Unmarshal([]byte(file), &codonTable)

@gitpod-io

gitpod-io Bot commented Oct 15, 2022

Copy link
Copy Markdown

@TimothyStiles
TimothyStiles merged commit 8ed8b56 into bebop:main Oct 15, 2022
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