scout/adapter/mongo/hgnc.py
def load_exon_bulk(self, exon_objs):
        """Load a bulk of exon objects to the database

        Arguments:
            exon_objs(iterable(scout.models.hgnc_exon))

        """
        try:
            result = self.exon_collection.insert_many(transcript_objs)
        except (DuplicateKeyError, BulkWriteError) as err:
            raise IntegrityError(err)
        
        return result
def load_exon_bulk(self, exon_objs):
        try:
            result = self.exon_collection.insert_many(transcript_objs)
        except (DuplicateKeyError, BulkWriteError) as err:
            raise IntegrityError(err)
        
        return result
def load_exon_bulk ( self , exon_objs ) : try : result = self . exon_collection . insert_many ( transcript_objs ) except ( DuplicateKeyError , BulkWriteError ) as err : raise IntegrityError ( err ) return result
Load a bulk of exon objects to the database

        Arguments:
            exon_objs(iterable(scout.models.hgnc_exon))
Load a bulk of exon objects to the database