def get_empty():
     return MarkerMapping("-",
                          "-",
                          "-",
                          "-",
                          MappingResult.get_empty(),
                          FeatureMapping.ROW_TYPE_MAPPING_RESULT,
                          empty=True)
 def get_empty():
     return GeneMapping("-",
                        "-",
                        "-",
                        "-",
                        MappingResult.get_empty(),
                        FeatureMapping.ROW_TYPE_MAPPING_RESULT,
                        empty=True,
                        annots=[])
Example #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
Example #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
 def get_empty():
     return GeneMapping("-", "-", "-", "-", MappingResult.get_empty(), FeatureMapping.ROW_TYPE_MAPPING_RESULT, empty = True, annots = [])
 def get_empty():
     return MarkerMapping("-", "-", "-", "-", MappingResult.get_empty(), FeatureMapping.ROW_TYPE_MAPPING_RESULT, empty = True)