Ejemplo n.º 1
0
 def get_empty():
     return MarkerMapping("-",
                          "-",
                          "-",
                          "-",
                          MappingResult.get_empty(),
                          FeatureMapping.ROW_TYPE_MAPPING_RESULT,
                          empty=True)
Ejemplo n.º 2
0
 def get_empty():
     return GeneMapping("-",
                        "-",
                        "-",
                        "-",
                        MappingResult.get_empty(),
                        FeatureMapping.ROW_TYPE_MAPPING_RESULT,
                        empty=True,
                        annots=[])
Ejemplo n.º 3
0
    def _create_row_feature(self, feature_mapping, collapsed_view):

        if collapsed_view:
            new_map_position = feature_mapping.clone()
        else:
            map_position = MappingResult.get_empty()

            new_map_position = map_position.clone()
            new_map_position.set_feature(feature_mapping)

        return new_map_position
Ejemplo n.º 4
0
 def _create_row_feature(self, feature_mapping, collapsed_view):
     
     if collapsed_view:
         new_map_position = feature_mapping.clone()
     else:
         map_position = MappingResult.get_empty()
         
         new_map_position = map_position.clone()
         new_map_position.set_feature(feature_mapping)
     
     return new_map_position
Ejemplo n.º 5
0
 def get_empty():
     return GeneMapping("-", "-", "-", "-", MappingResult.get_empty(), FeatureMapping.ROW_TYPE_MAPPING_RESULT, empty = True, annots = [])
Ejemplo n.º 6
0
 def get_empty():
     return MarkerMapping("-", "-", "-", "-", MappingResult.get_empty(), FeatureMapping.ROW_TYPE_MAPPING_RESULT, empty = True)