[Biococoa-dev] mass calculator bug

Koen van der Drift kvddrift at earthlink.net
Sat Aug 28 00:12:54 EDT 2004


Hi,

To test my mass calculator code, I added the following line to the demo 
code:

mw = [theSequence molecularWeight:BCAverage];


This causes an error in:


@implementation BCMassCalculator

-(id) initWithSequence:(BCSequence *)seq
{
     if (self = [super init])
     {
	sequence = [seq copy];		<--------- error
    }
	
	return self;
}


the error is:

2004-08-28 00:08:25.565 demo_app[2490] *** -[BCSequenceDNA 
copyWithZone:]: selector not recognized


Anyone have an idea what this means and how to fix it?


thanks,

- Koen.




More information about the Biococoa-dev mailing list