Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/biograpy.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 1.0
Metadata-Version: 1.1
Name: biograpy
Version: 1.0bdev
Version: 1.0b0.dev0
Summary: UNKNOWN
Home-page: UNKNOWN
Author: Andrea Pierleoni
Expand Down
2 changes: 1 addition & 1 deletion src/biograpy.egg-info/requires.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
setuptools
biopython
matplotlib>=1.0
numpy>=1.1
numpy>=1.1
4 changes: 2 additions & 2 deletions src/biograpy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from drawer import Panel
from seqrecord import SeqRecordDrawer, SliceSeqRec
from biograpy.drawer import Panel
from biograpy.seqrecord import SeqRecordDrawer, SliceSeqRec

__import__('pkg_resources').declare_namespace(__name__)
2 changes: 1 addition & 1 deletion src/biograpy/drawer.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

import matplotlib, warnings, operator
matplotlib.use('Agg')
import tracks
import biograpy.tracks
from matplotlib.font_manager import FontProperties

warnings.simplefilter("ignore")
Expand Down
4 changes: 2 additions & 2 deletions src/biograpy/seqrecord.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def draw_features_ordered_by_gene_struct(self,gene_code=None):
gene_name=' - '.join(Lgene_name)
break
if not gene_code:
raise ValueError, "Cannot draw gene structure, without a gene code"
raise ValueError("Cannot draw gene structure, without a gene code")



Expand Down Expand Up @@ -390,7 +390,7 @@ def SliceSeqRec(seqrec,start=None,end=None,include_feature=[],exclude_feature=[]
if end is None :
end = -1
if (start < 0 or end < 0) and parent_length == 0 :
raise ValueError, "Cannot support negative indices without the sequence length"
raise ValueError("Cannot support negative indices without the sequence length")
if start < 0 :
start = parent_length - start
if end < 0 :
Expand Down