def checkUploadSize(self, upload, chunkSize):
        if 'received' not in upload or 'size' not in upload:
            return
        if chunkSize is None:
            return
        if upload['received'] + chunkSize > upload['size']:
            raise ValidationException('Received too many bytes.')
        if upload['received'] + chunkSize != upload['size'] and \
                chunkSize < self.model('setting').get(
                SettingKey.UPLOAD_MINIMUM_CHUNK_SIZE):
            raise ValidationException('Chunk is smaller than the minimum size.')
Load the nucleotide composition of regions flanking intervals
dataset/ETHPy150Open girder/girder/girder/utility/abstract_assetstore_adapter.py/AbstractAssetstoreAdapter.checkUploadSize--crossover with--dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_proj007.py/loadFlankingCompositionRight