Skip to content

Commit ac355de

Browse files
committed
Standardize docs and names of classes
1 parent a5f3c73 commit ac355de

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

BioPythonUtils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def run(self, edit):
6464
print("Entrez count: {}".format(ids['Count']))
6565
dialog_result = sublime.ok_cancel_dialog(
6666
"Download {0} sequences? 'retmax': {1}".format(ids['Count'],
67-
entrez_retmax), 'Download')
67+
entrez_retmax), 'Download')
6868

6969
if dialog_result is True:
7070
try:
@@ -169,7 +169,7 @@ def run(self):
169169

170170

171171
# "Download Taxon"
172-
class DownloadTaxonCommand(sublime_plugin.TextCommand):
172+
class DownloadSequenceByTaxonCommand(sublime_plugin.TextCommand):
173173

174174
def run(self, edit):
175175

Main.sublime-menu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
},
2626
{
2727
"id": "download_taxon",
28-
"command": "download_taxon",
29-
"caption": "Download Taxon"
28+
"command": "download_sequence_by_taxon",
29+
"caption": "Get Sequences by Taxon"
3030
},
3131
{
3232
"id": "genbank_to_fasta",

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ Translation starts at the first codon and continues to the last, regardless of s
6161

6262
#### "Get Sequences by Search"
6363

64-
Queries [NCBI Nucleotide](https://www.ncbi.nlm.nih.gov/nucleotide/) using the [Entrez](https://www.ncbi.nlm.nih.gov/books/NBK184582/)
65-
search service and downloads the sequence results in GenBank format.
64+
Queries [NCBI Nucleotide](https://www.ncbi.nlm.nih.gov/nucleotide/) using [Entrez](https://www.ncbi.nlm.nih.gov/books/NBK184582/)
65+
search service and the selected text and downloads the sequence results in GenBank format.
6666
For example:
6767
~~~~
6868
human[ORGN] AND AKT1[GENE]
@@ -88,7 +88,7 @@ or:
8888
284218, 203807
8989
~~~~
9090

91-
#### "Download Taxon"
91+
#### "Get Sequences by Taxon"
9292

9393
Downloads a taxon as GenBank format entries from [NCBI](http://www.ncbi.nlm.nih.gov) using the selected
9494
[NCBI Taxonomy](http://www.ncbi.nlm.nih.gov/taxonomy) ids. Ids can be delimited by commas, returns, or space.

0 commit comments

Comments
 (0)