Skip to content

Commit

Permalink
Merge pull request #2 from nickjcroucher/numpy_base_patterns
Browse files Browse the repository at this point in the history
Numpy base patterns
  • Loading branch information
nickjcroucher authored Dec 6, 2020
2 parents 78225ac + 7aefbb1 commit 0944486
Show file tree
Hide file tree
Showing 6 changed files with 1,037 additions and 125 deletions.
5 changes: 1 addition & 4 deletions python/gubbins/ValidateFastaAlignment.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ def does_each_sequence_have_a_name_and_genomic_data(self):
if re.search('[^ACGTNacgtn-]', str(record.seq)) != None:
print("Error with the input FASTA file: One of the sequences contains odd characters, only ACGTNacgtn- are permitted")
return False
if number_of_sequences <= 3:
print("Error with input FASTA file: you need more than 3 sequences to build a meaningful tree")
return False
input_handle.close()
return True

Expand Down Expand Up @@ -79,4 +76,4 @@ def are_sequence_names_unique(self):
return False
input_handle.close()
return True


2 changes: 1 addition & 1 deletion python/gubbins/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
## PACKAGE METADATA

__project__ = "Gubbins"
__version__ = "0.1"
__version__ = "3.0"

try:
try:
Expand Down
Loading

0 comments on commit 0944486

Please sign in to comment.