Ejemplo n.º 1
0
    def matchesTrackFormat(trackFormat):
        trackFormatName = ''
        if trackFormat.getValTypeName() in ['Number', 'Number (integer)']:
            trackFormatName += 'valued '

        trackFormatName += 'segments'

        return MatchResult(match=trackFormat.isInterval() and not trackFormat.isDense(), \
                           trackFormatName=trackFormatName)
Ejemplo n.º 2
0
 def matchesTrackFormat(trackFormat):
     return MatchResult(match=trackFormat.isInterval() and not trackFormat.isDense() \
                              and trackFormat.getValTypeName() in ['Number', 'Number (integer)'], \
                        trackFormatName='valued segments')
Ejemplo n.º 3
0
 def matchesTrackFormat(trackFormat):
     return MatchResult(match=trackFormat.isInterval() and not trackFormat.isDense() \
                              and trackFormat.getValTypeName() == 'Case-control', \
                        trackFormatName='valued segments')
Ejemplo n.º 4
0
 def matchesTrackFormat(trackFormat):
     return MatchResult(match=trackFormat.reprIsDense() and trackFormat.getValTypeName() == 'Character', \
                        trackFormatName='function')
Ejemplo n.º 5
0
 def matchesTrackFormat(trackFormat):
     return MatchResult(match=True,
                        trackFormatName=trackFormat.getFormatName().lower())
Ejemplo n.º 6
0
 def matchesTrackFormat(trackFormat):
     return MatchResult(match=trackFormat.getValTypeName() in ['Number', 'Number (integer)'], \
                        trackFormatName=trackFormat.getFormatName().lower().replace('linked ',''))