From kvddrift at earthlink.net Tue Aug 2 19:21:27 2005 From: kvddrift at earthlink.net (Koen van der Drift) Date: Tue, 2 Aug 2005 19:21:27 -0400 Subject: [Biococoa-dev] [OT]: Cocoa Bindings Message-ID: Hi, Anyone want to help me with using Cocoa Bindings (it's bio-related)? I've looked at the docs, and examples, and kinda understand the concept, but the implementation is still not working :( Here's what I am trying to do. I have a panel from which the user can load a sequence from a database (NCBI, etc). I created a plist that contains the URL's for the databases, and the plist is loaded into an NSDictionary (databases). The keys of the dict hold the names of the databases, the values the URL's. So far, so good. The panel has an NSPopupButton that has the keys of the databases as it's titles, and a NSTextField where the user types in the accession number. When the user clicks 'Load', the correct URL is constructed and the sequence is retrieved using NSURLRequest. This also works fine. The problem I am having is with the bindings that connect the databases to the titles of the popup. I have added an NSArrayController ("Databases") to my nib and set the 'contentArray' to databases.allKeys. For the NSPopupButton I have three bindings: content = arrangedObjects (Databases) contentValues = arrangedObjects.titles (Databases) selectedObject = database (File Owner) where 'database' is an NSString representing the current selected database, and FileOwner is the DatabaseWindowController. The panel loads fine, and the popup shows the value of the current database. Even fetching a sequence works. So I am really close to get this thing to work. The only problem I have is, I cannot click the popup to change the database. Anyone has a clue how I can fix that? If it is working I have no problems with adding the code to one of the BioCocoa examples :) cheers, - Koen. From kvddrift at earthlink.net Tue Aug 9 21:18:38 2005 From: kvddrift at earthlink.net (Koen van der Drift) Date: Tue, 9 Aug 2005 21:18:38 -0400 Subject: [Biococoa-dev] one more time: Xcode and cvs Message-ID: Hi, Everytime I open my Xcode BioCocoa project I get a dialog asking to authenticate login into bioinformatics.org. I put a screenshot here: http://home.earthlink.net/~kvddrift/biococoa/biococoa-cvs.png Whether I select Cancel or Authenticate, I can use SCM from Xcode, *without* entering a password. So I know my passkey is set up correctly. Any idea how to get rid of this screen? thanks, - Koen. From kvddrift at earthlink.net Thu Aug 11 22:03:06 2005 From: kvddrift at earthlink.net (Koen van der Drift) Date: Thu, 11 Aug 2005 22:03:06 -0400 Subject: [Biococoa-dev] mutable sequences Message-ID: <72D38786-B582-4018-86C4-C11AD594D946@earthlink.net> Hi, I hope everyone is enjoying a nice summer. A main part of the app I am developing is a sequence editor. Basically it is a subclass of NSTextView that displays the string obtained from a BCSequence object. Since right now BCSequence is an immutable object, I am wondering what would be a good strategy to implement the editing. One possibility that comes to mind is everytime that the user edits the sequence (observed by a textDidChange notification from the textview), I recreate the BCSequence object and swap it with the current one. The nice thing about this is that it allows live editing, so characteristics of the sequence can be updated while typing (maybe even using bindings?). The negative part, of course is that after each keystroke (or actually after each notification) I need to create a new sequence object from an NSString, which can be costly, and/or slow things down. So an alternative solution could be using a mutable BCSequence object, and then just add/remove the BCSymbols corresponding to the keystrokes. I remember that Alex and Charles have been talking/ chatting about a mutable sequence object, but I did not really follow that discussion. What is the current thought about mutable sequences, and how could it be implemented into BioCocoa? cheers, - Koen. From kvddrift at earthlink.net Sun Aug 14 21:25:27 2005 From: kvddrift at earthlink.net (Koen van der Drift) Date: Sun, 14 Aug 2005 21:25:27 -0400 Subject: [Biococoa-dev] updated project in cvs In-Reply-To: <6B4EABE0-8ACE-4505-AD52-D511FBAC5AE0@earthlink.net> References: <6B4EABE0-8ACE-4505-AD52-D511FBAC5AE0@earthlink.net> Message-ID: <5409CE55-4A90-43A7-957B-36991DCC8E8C@earthlink.net> Hi, I am a little bit surprised that there has been hardly any response to the new framework setup. The WWDC meeting brought some great ideas, which we extensively discussed on the list. It was good to see some life back on the forum, and to see that people are still interested in further developing BioCocoa. I then started implementing some of the new ideas, more or less to compensate for my absence at WWDC, but also because I think they are good improvements. But after that it has been awfully quiet. Maybe people are on vacation, or just plain busy, that is very well possible. That being said, has anyone had a chance to look at the updated project? Any comments, suggestions, ideas? As I posted a few days ago, I think that adding the code for mutable sequences could be next. Also important is the transformation of existing code to use the NSData sequence object, instead of the symbolArray. cheers, - Koen. On Jul 19, 2005, at 11:19 PM, Koen van der Drift wrote: > Hi, > > I took the plunge and have committed a lot of changes to the > project. These changes now incorporate: > > 1. The addition of NSData to hold the sequenceData > > 2. Merging of BCSequence and BCAbstractSequence and removal of > sequence subclasses > > > The new way to create a sequence is: > > BCSequence *mySequence = [[BCSequence alloc] initWithString: > @"ELVISLIVES" symbolSet: [BCSymbolSet proteinSymbolSet]]; > > > The project compiles, with a few warnings, and the examples seem to > work. There are of course still some parts that need attention. The > most important are: > > 1. Start using the NSData in more places to replace the > symbolArray. A good example is the translation code, but also in > other sections. BCSequenceCodon is still in the project. > > 2. Implement the "type-guessing" code in BCSequence. See my notes > in initWithString in BCSymbol. For now the examples use fasta > files, and the code cannot yet see if it is a protein or dna. Make > sure to un-comment the correct symbolSet in readFastaFile. > > 3. Implementation of a mutable sequence class > > 4. Update the documentation > > 5. Update the Test code > > > > cheers, > > - Koen. > _______________________________________________ > Biococoa-dev mailing list > Biococoa-dev at bioinformatics.org > https://bioinformatics.org/mailman/listinfo/biococoa-dev > From charles.parnot at gmail.com Mon Aug 15 00:30:29 2005 From: charles.parnot at gmail.com (Charles Parnot) Date: Sun, 14 Aug 2005 21:30:29 -0700 Subject: [Biococoa-dev] updated project in cvs In-Reply-To: <5409CE55-4A90-43A7-957B-36991DCC8E8C@earthlink.net> References: <6B4EABE0-8ACE-4505-AD52-D511FBAC5AE0@earthlink.net> <5409CE55-4A90-43A7-957B-36991DCC8E8C@earthlink.net> Message-ID: I know and I feel terribly sorry about that. I am really really caught up in a lot of different thins, and if I could work on it as much as I think about it (e.g. in traffic), all of this would be history now... I tried to keep up with the discussions, as it is easier to write a little bit here and there. But writing code requires more consistentcy and continuity and I don't have that luxury right now. The only good side of it is I am working on some code where I learn a lot about CoreData and in particular, CoreData in the context of the framework, so it is like a run test for what could be done on BioCocoa. I also want to thank you, Koen, for doing all the coding work and listening to the comments and being always responsive on it. I hope I will have time soon for more help on the coding side. I will however try to at least look more carefully at the code and make comments, which is easier to do too that the actual coding, and still helps... cheers, charles On Aug 14, 2005, at 6:25 PM, Koen van der Drift wrote: > Hi, > > I am a little bit surprised that there has been hardly any response > to the new framework setup. The WWDC meeting brought some great > ideas, which we extensively discussed on the list. It was good to > see some life back on the forum, and to see that people are still > interested in further developing BioCocoa. I then started > implementing some of the new ideas, more or less to compensate for > my absence at WWDC, but also because I think they are good > improvements. But after that it has been awfully quiet. Maybe > people are on vacation, or just plain busy, that is very well > possible. > > > That being said, has anyone had a chance to look at the updated > project? Any comments, suggestions, ideas? > > As I posted a few days ago, I think that adding the code for > mutable sequences could be next. Also important is the > transformation of existing code to use the NSData sequence object, > instead of the symbolArray. > > cheers, > > - Koen. > > > > > On Jul 19, 2005, at 11:19 PM, Koen van der Drift wrote: > > >> Hi, >> >> I took the plunge and have committed a lot of changes to the >> project. These changes now incorporate: >> >> 1. The addition of NSData to hold the sequenceData >> >> 2. Merging of BCSequence and BCAbstractSequence and removal of >> sequence subclasses >> >> >> The new way to create a sequence is: >> >> BCSequence *mySequence = [[BCSequence alloc] initWithString: >> @"ELVISLIVES" symbolSet: [BCSymbolSet proteinSymbolSet]]; >> >> >> The project compiles, with a few warnings, and the examples seem >> to work. There are of course still some parts that need attention. >> The most important are: >> >> 1. Start using the NSData in more places to replace the >> symbolArray. A good example is the translation code, but also in >> other sections. BCSequenceCodon is still in the project. >> >> 2. Implement the "type-guessing" code in BCSequence. See my notes >> in initWithString in BCSymbol. For now the examples use fasta >> files, and the code cannot yet see if it is a protein or dna. Make >> sure to un-comment the correct symbolSet in readFastaFile. >> >> 3. Implementation of a mutable sequence class >> >> 4. Update the documentation >> >> 5. Update the Test code >> >> >> >> cheers, >> >> - Koen. >> _______________________________________________ >> Biococoa-dev mailing list >> Biococoa-dev at bioinformatics.org >> https://bioinformatics.org/mailman/listinfo/biococoa-dev >> >> > > _______________________________________________ > Biococoa-dev mailing list > Biococoa-dev at bioinformatics.org > https://bioinformatics.org/mailman/listinfo/biococoa-dev > -- Xgrid-at-Stanford Help science move fast forward: http://cmgm.stanford.edu/~cparnot/xgrid-stanford Charles Parnot charles.parnot at gmail.com From kvddrift at earthlink.net Sun Aug 28 22:14:31 2005 From: kvddrift at earthlink.net (Koen van der Drift) Date: Sun, 28 Aug 2005 22:14:31 -0400 Subject: [Biococoa-dev] test - ignore Message-ID: <9363A747-232E-4279-B934-456030F7C9EF@earthlink.net> looks like some of my postings earlier today didn't make it. Let's see if it now works. - Koen. From kvddrift at earthlink.net Sun Aug 28 20:23:22 2005 From: kvddrift at earthlink.net (Koen van der Drift) Date: Sun, 28 Aug 2005 20:23:22 -0400 Subject: [Biococoa-dev] plist files Message-ID: <69C053BD-136B-4AA6-A6DC-5DC8CC829AA4@earthlink.net> Hi, I was looking at the InfoPlist.strings for the example projects, and they all look like very strange with a lot of upside down question marks in it. I tried copying it in this mail, but that only show whitespaces. Also in all cases, the info.plist file is missing. Anyone has a clue what might be going on? Should we add an info.plist file to the projects? cheers, - Koen. From kvddrift at earthlink.net Sun Aug 28 21:00:52 2005 From: kvddrift at earthlink.net (Koen van der Drift) Date: Sun, 28 Aug 2005 21:00:52 -0400 Subject: [Biococoa-dev] converting from 3-letter code to 1-letter code Message-ID: <87B8D0EF-2336-4028-9950-FD92176056FD@earthlink.net> Hi, To enable the reading of PDB file, I added some code that converts the three letter code for the amino acid to a string of 1-letter code. Right now it is in readPDBFile in BCSequenceIO. After fiddling with subdictionaries and arrays, I suddenly realized it would be easier with using a symbolset. I will commit the code if cvs lets me, so it might take a while for the code is available. In the meantime, I have these questions: 1. Maybe we should move this to a separate method, in case there are more file formats that use the three letter code? (I guess the answer is yes) 2. Are there three letter codes for nucleotides as well? In that case the code could be more generalized. I will also add some code to do the reverse. cheers, - keon. From kvddrift at earthlink.net Sun Aug 28 23:16:11 2005 From: kvddrift at earthlink.net (Koen van der Drift) Date: Sun, 28 Aug 2005 23:16:11 -0400 Subject: [Biococoa-dev] test - ignore In-Reply-To: <9363A747-232E-4279-B934-456030F7C9EF@earthlink.net> References: <9363A747-232E-4279-B934-456030F7C9EF@earthlink.net> Message-ID: On Aug 28, 2005, at 10:14 PM, Koen van der Drift wrote: > looks like some of my postings earlier today didn't make it. Let's > see if it now works. > > - Koen. Ah - there they are. CVS is also working again. - Koen. From mek at mekentosj.com Mon Aug 29 19:10:41 2005 From: mek at mekentosj.com (Alexander Griekspoor) Date: Mon, 29 Aug 2005 16:10:41 -0700 Subject: [Biococoa-dev] plist files Message-ID: <200508291610.AA87294164@mekentosj.com> Hey Koen, >From OSX 10.4 all plist are now by default stored in binary format instead of plain text, this is what you see. Open the plist in plist editor or XCode and it will show up fine.. Cheers from Portugal, Alex ---------- Original Message ---------------------------------- From: Koen van der Drift Date: Sun, 28 Aug 2005 20:23:22 -0400 >Hi, > >I was looking at the InfoPlist.strings for the example projects, and >they all look like very strange with a lot of upside down question >marks in it. I tried copying it in this mail, but that only show >whitespaces. Also in all cases, the info.plist file is missing. > >Anyone has a clue what might be going on? Should we add an info.plist >file to the projects? > > >cheers, > >- Koen. > >_______________________________________________ >Biococoa-dev mailing list >Biococoa-dev at bioinformatics.org >https://bioinformatics.org/mailman/listinfo/biococoa-dev > ___________________________________________________________ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com From kvddrift at earthlink.net Mon Aug 29 19:41:50 2005 From: kvddrift at earthlink.net (Koen van der Drift) Date: Mon, 29 Aug 2005 19:41:50 -0400 Subject: [Biococoa-dev] plist files In-Reply-To: <200508291610.AA87294164@mekentosj.com> References: <200508291610.AA87294164@mekentosj.com> Message-ID: <7A0E1CA3-CFDD-419C-A30C-E64CB603D07C@earthlink.net> On Aug 29, 2005, at 7:10 PM, Alexander Griekspoor wrote: > From OSX 10.4 all plist are now by default stored in binary format > instead of plain text, this is what you see. Open the plist in > plist editor or XCode and it will show up fine.. > Cheers from Portugal, > Actually, it looks like a regular text file, but just with an ? inbetween each character. I did a find/replace, and after that the files just look readable: CFBundleName = "Peptides"; CFBundleShortVersionString = "1.0"; CFBundleGetInfoString = "Peptides version 1.0, Copyright 2005 Mek&Tosj.com."; NSHumanReadableCopyright = "Copyright 2005 Mek&Tosj.com."; I actually updated this in the project and committed it to cvs. I hope I didn't screw anything up. Enjoy your vacation, did you already have some barbequed sardines? cheers, - Koen. From kvddrift at earthlink.net Mon Aug 29 19:47:43 2005 From: kvddrift at earthlink.net (Koen van der Drift) Date: Mon, 29 Aug 2005 19:47:43 -0400 Subject: [Biococoa-dev] converting from 3-letter code to 1-letter code In-Reply-To: <87B8D0EF-2336-4028-9950-FD92176056FD@earthlink.net> References: <87B8D0EF-2336-4028-9950-FD92176056FD@earthlink.net> Message-ID: On Aug 28, 2005, at 9:00 PM, Koen van der Drift wrote: > Hi, > > To enable the reading of PDB file, I added some code that converts > the three letter code for the amino acid to a string of 1-letter > code. Right now it is in readPDBFile in BCSequenceIO. After > fiddling with subdictionaries and arrays, I suddenly realized it > would be easier with using a symbolset. > > I will commit the code if cvs lets me, so it might take a while > for the code is available. In the meantime, I have these questions: > > 1. Maybe we should move this to a separate method, in case there > are more file formats that use the three letter code? (I guess the > answer is yes) I an attempt to make it more usuable, I moved the code to a separate method in BCSequence, instead of BCSequenceIO. Here's some code: // new method: + (BCSequence *)sequenceWithThreeLetterString:(NSString *)aString symbolSet:(BCSymbolSet *)aSet { NSString *oneLetterString = [self convertThreeLetterStringToOneLetterString: aString symbolSet: aSet]; return [[[BCSequence alloc] initWithString:oneLetterString symbolSet:aSet] autorelease]; } // another new method: - (NSString *)convertThreeLetterStringToOneLetterString:(NSString *) aString symbolSet: (BCSymbolSet *)aSet { ....do the conversion, and return a new string } I have been staring at this for a while now, but the compiler says that: 'BCSequence' may not respond to '+convertThreeLetterStringToOneLetterString:symbolSet:' As far as I can tell (also in the .h file) convertThreeLetterStringToOneLetterString is a regular method, not a class method. I must be overlooking something, but I cannot see it. Any ideas? thanks, - Koen. From kvddrift at earthlink.net Tue Aug 30 19:28:17 2005 From: kvddrift at earthlink.net (Koen van der Drift) Date: Tue, 30 Aug 2005 19:28:17 -0400 Subject: [Biococoa-dev] test - ignore In-Reply-To: References: <9363A747-232E-4279-B934-456030F7C9EF@earthlink.net> Message-ID: <36B4FE53-8A86-4B4F-ABF9-F2E3C7CE1988@earthlink.net> On Aug 28, 2005, at 11:16 PM, Koen van der Drift wrote: > > On Aug 28, 2005, at 10:14 PM, Koen van der Drift wrote: > > >> looks like some of my postings earlier today didn't make it. Let's >> see if it now works. >> >> - Koen. >> > > > Ah - there they are. CVS is also working again. Looks like there are still some problems. I posted 2 messages yesterday, and saw them on the mailinglist archive. But not in my inbox. Maybe the are still doing some maintenance, I noticed the site was completely down a few days ago. cheers, - Koen. From kvddrift at earthlink.net Wed Aug 31 17:53:04 2005 From: kvddrift at earthlink.net (Koen van der Drift) Date: Wed, 31 Aug 2005 17:53:04 -0400 Subject: [Biococoa-dev] converting from 3-letter code to 1-letter code References: Message-ID: <2D70A87E-27EE-40AD-BD81-8DD6AD99492C@earthlink.net> [repost - I never received the first one back] On Aug 28, 2005, at 9:00 PM, Koen van der Drift wrote: > Hi, > > To enable the reading of PDB file, I added some code that converts > the three letter code for the amino acid to a string of 1-letter > code. Right now it is in readPDBFile in BCSequenceIO. After > fiddling with subdictionaries and arrays, I suddenly realized it > would be easier with using a symbolset. > > I will commit the code if cvs lets me, so it might take a while > for the code is available. In the meantime, I have these questions: > > 1. Maybe we should move this to a separate method, in case there > are more file formats that use the three letter code? (I guess the > answer is yes) > I an attempt to make it more usuable, I moved the code to a separate method in BCSequence, instead of BCSequenceIO. Here's some code: // new method: + (BCSequence *)sequenceWithThreeLetterString:(NSString *)aString symbolSet:(BCSymbolSet *)aSet { NSString *oneLetterString = [self convertThreeLetterStringToOneLetterString: aString symbolSet: aSet]; return [[[BCSequence alloc] initWithString:oneLetterString symbolSet:aSet] autorelease]; } // another new method: - (NSString *)convertThreeLetterStringToOneLetterString:(NSString *) aString symbolSet: (BCSymbolSet *)aSet { ....do the conversion, and return a new string } I have been staring at this for a while now, but the compiler says that: 'BCSequence' may not respond to '+convertThreeLetterStringToOneLetterString:symbolSet:' As far as I can tell (also in the .h file) convertThreeLetterStringToOneLetterString is a regular method, not a class method. I must be overlooking something, but I cannot see it. Any ideas? thanks, - Koen. From kvddrift at earthlink.net Wed Aug 31 17:53:38 2005 From: kvddrift at earthlink.net (Koen van der Drift) Date: Wed, 31 Aug 2005 17:53:38 -0400 Subject: Fwd: [Biococoa-dev] plist files References: <7A0E1CA3-CFDD-419C-A30C-E64CB603D07C@earthlink.net> Message-ID: <6CF38FB2-3394-4A2E-A13F-D7E3B68541AC@earthlink.net> [repost] On Aug 29, 2005, at 7:10 PM, Alexander Griekspoor wrote: > From OSX 10.4 all plist are now by default stored in binary format > instead of plain text, this is what you see. Open the plist in > plist editor or XCode and it will show up fine.. > Cheers from Portugal, > > Actually, it looks like a regular text file, but just with an ? inbetween each character. I did a find/replace, and after that the files just look readable: CFBundleName = "Peptides"; CFBundleShortVersionString = "1.0"; CFBundleGetInfoString = "Peptides version 1.0, Copyright 2005 Mek&Tosj.com."; NSHumanReadableCopyright = "Copyright 2005 Mek&Tosj.com."; I actually updated this in the project and committed it to cvs. I hope I didn't screw anything up. Enjoy your vacation, did you already have some barbequed sardines? cheers, - Koen. From charles.parnot at gmail.com Wed Aug 31 18:16:43 2005 From: charles.parnot at gmail.com (Charles Parnot) Date: Wed, 31 Aug 2005 15:16:43 -0700 Subject: [Biococoa-dev] converting from 3-letter code to 1-letter code In-Reply-To: <2D70A87E-27EE-40AD-BD81-8DD6AD99492C@earthlink.net> References: <2D70A87E-27EE-40AD-BD81-8DD6AD99492C@earthlink.net> Message-ID: <34A0941A-BA79-4C76-9A07-CC800DCC2946@gmail.com> when you call: NSString *oneLetterString = [self convertThreeLetterStringToOneLetterString: aString symbolSet: aSet]; self is the target, and it is the class object. So indeed you are trying to call the class method and the compiler complains. charles -- Xgrid-at-Stanford Help science move fast forward: http://cmgm.stanford.edu/~cparnot/xgrid-stanford Charles Parnot charles.parnot at gmail.com From kvddrift at earthlink.net Wed Aug 31 18:26:33 2005 From: kvddrift at earthlink.net (Koen van der Drift) Date: Wed, 31 Aug 2005 18:26:33 -0400 Subject: [Biococoa-dev] converting from 3-letter code to 1-letter code In-Reply-To: <34A0941A-BA79-4C76-9A07-CC800DCC2946@gmail.com> References: <2D70A87E-27EE-40AD-BD81-8DD6AD99492C@earthlink.net> <34A0941A-BA79-4C76-9A07-CC800DCC2946@gmail.com> Message-ID: <68D365A6-E369-4997-897A-23B99065C539@earthlink.net> On Aug 31, 2005, at 6:16 PM, Charles Parnot wrote: > when you call: > > NSString *oneLetterString = [self > convertThreeLetterStringToOneLetterString: aString symbolSet: aSet]; > > self is the target, and it is the class object. So indeed you are > trying to call the class method and the compiler complains. > Hmm, still don't see what I am doing wrong :( Why is this different from: NSString *name = [self name]; -(NSString *) name { return name; } cheers, - Koen. From charles.parnot at gmail.com Wed Aug 31 18:41:58 2005 From: charles.parnot at gmail.com (Charles Parnot) Date: Wed, 31 Aug 2005 15:41:58 -0700 Subject: [Biococoa-dev] converting from 3-letter code to 1-letter code In-Reply-To: <68D365A6-E369-4997-897A-23B99065C539@earthlink.net> References: <2D70A87E-27EE-40AD-BD81-8DD6AD99492C@earthlink.net> <34A0941A-BA79-4C76-9A07-CC800DCC2946@gmail.com> <68D365A6-E369-4997-897A-23B99065C539@earthlink.net> Message-ID: <6D1E8629-EFF6-4A10-B829-EE42FEC87458@gmail.com> > > Hmm, still don't see what I am doing wrong :( > > Why is this different from: > > NSString *name = [self name]; > > -(NSString *) name > { > return name; > } > It just depends who 'self' is. The above code is out of context, so I can't tell if it is going to work. But if you use selfwithin a class method, then self is the class object and you are calling a class method. If you use self within an instance method, then self is an intance of the class, and you are calling an instance method. Basically, in the code you sent, you are not creating an object before calling the instance method, so it will not work. charles -- Xgrid-at-Stanford Help science move fast forward: http://cmgm.stanford.edu/~cparnot/xgrid-stanford Charles Parnot charles.parnot at gmail.com From kvddrift at earthlink.net Wed Aug 31 19:00:30 2005 From: kvddrift at earthlink.net (Koen van der Drift) Date: Wed, 31 Aug 2005 19:00:30 -0400 Subject: [Biococoa-dev] converting from 3-letter code to 1-letter code In-Reply-To: <6D1E8629-EFF6-4A10-B829-EE42FEC87458@gmail.com> References: <2D70A87E-27EE-40AD-BD81-8DD6AD99492C@earthlink.net> <34A0941A-BA79-4C76-9A07-CC800DCC2946@gmail.com> <68D365A6-E369-4997-897A-23B99065C539@earthlink.net> <6D1E8629-EFF6-4A10-B829-EE42FEC87458@gmail.com> Message-ID: On Aug 31, 2005, at 6:41 PM, Charles Parnot wrote: > But if you use selfwithin a class method, then self is the class > object and you are calling a class method. If you use self within > an instance method, then self is an intance of the class, and you > are calling an instance method. Aha, now I see what you mean :) I fixed the code, and committed it to cvs. - Koen.