Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OBITools3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
23
Issues
23
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
OBITools
OBITools3
Commits
e04ea85d
Commit
e04ea85d
authored
Apr 15, 2016
by
Celine Mercier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed problematic __str__ method and useless declarations in the
OBI_Nuc_Seq_Stored class
parent
527d3555
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
python/obitools3/obidms/_obiseq.pxd
python/obitools3/obidms/_obiseq.pxd
+0
-4
python/obitools3/obidms/_obiseq.pyx
python/obitools3/obidms/_obiseq.pyx
+2
-2
No files found.
python/obitools3/obidms/_obiseq.pxd
View file @
e04ea85d
...
...
@@ -21,10 +21,6 @@ cdef class OBI_Nuc_Seq(OBI_Seq) :
cdef
class
OBI_Nuc_Seq_Stored
(
OBIView_line
)
:
cdef
str
id
cdef
str
description
cdef
str
sequence
cpdef
set_id
(
self
,
str
id
)
cpdef
get_id
(
self
)
cpdef
set_description
(
self
,
str
description
)
...
...
python/obitools3/obidms/_obiseq.pyx
View file @
e04ea85d
...
...
@@ -65,8 +65,8 @@ cdef class OBI_Nuc_Seq_Stored(OBIView_line) :
cpdef
get_sequence
(
self
)
:
return
self
[
bytes2str
(
NUC_SEQUENCE_COLUMN
)]
def
__str__
(
self
)
:
return
self
[
bytes2str
(
NUC_SEQUENCE_COLUMN
)]
# or not
#
def __str__(self) :
#
return self[bytes2str(NUC_SEQUENCE_COLUMN)] # or not
# cpdef str reverse_complement(self) : TODO in C ?
# pass
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment