Closed rekado closed 2 years ago
The contents of c_params
are:
[('properties_dict', 'dict', ["The properties(features) of this track. For example 'height', 'color'..."]), ('name', 'str, optional', ['The name of Track.', '(Default: "{self.__class__.__name__}.{self.__class__._counts}")']), ('title', 'str, optional', ['Title of ax']), ('height', 'int, optional', ['Height of ax']), ('color', 'str, optional;', ['Color of ax'])]
[('file', 'str', ['Path to .bam .sam file.']), ('length_ratio_thresh', 'float', ['Length ratio threshold of show alignments. (Default 0.01)'])]
As can be seen, the second entry does not have a name
field.
The second entry appears to come from BAM(Track)
in coolbox/core/track/bam.py
; so it looks like the doc fields of Track
are not inherited in BAM
.
Turns out that this problem was due to an older version of numpydoc. Sorry for the noise!
I tried to import
coolbox.core.track.base.Track
but was greeted with an error in the documentation merging code:This is using the latest release of CoolBox.