[Biopython-dev] Update Operation for BioSQL.Loader

Andreas Kuntzagk andreas.kuntzagk at mdc-berlin.de
Wed Jun 5 12:25:56 EDT 2002


Oops, small mistake:

>>    def update_or_load(self, record):
>>        """Update an existing Record or load a new one    
>>	"""
>>	try: 
>>	    update_seqrecord(record)
>>	except UpdateNonExistingError: # Record does not exist
>>	    load_seqrecord(record)

should be self.update_seqrecord / self.load_seqrecord
As i said, i didn't test all of it.

Andreas




More information about the Biopython-dev mailing list