Fixed a bug when sending a DMS path to a C function from Cython
This commit is contained in:
@ -122,13 +122,24 @@ cdef class DMS(OBIWrapper):
|
||||
@property
|
||||
def full_path(self) :
|
||||
'''
|
||||
Returns the full path of the DMS directory
|
||||
Returns the full path including the name with the extension of the DMS directory
|
||||
|
||||
@rtype: bytes
|
||||
'''
|
||||
return <bytes> self.pointer().directory_path
|
||||
|
||||
|
||||
# DMS name with full path property getter
|
||||
@property
|
||||
def name_with_full_path(self) :
|
||||
'''
|
||||
Returns the full path with the name (meaning without the '.obidms' extension) of the DMS directory
|
||||
|
||||
@rtype: bytes
|
||||
'''
|
||||
return <bytes> self.full_path[:-7]
|
||||
|
||||
|
||||
# command history DOT graph property getter in the form of a bytes string
|
||||
@property
|
||||
def dot_history_graph(self):
|
||||
|
Reference in New Issue
Block a user