barentsen / dave

Discovery And Vetting of K2 Exoplanets
MIT License
6 stars 3 forks source link

Clipboard.asString() fails when given a tuple #7

Open fergalm opened 8 years ago

fergalm commented 8 years ago

The following code fails.

clip=cb.loadClipboard('/soc/nfs/so-nfs/dave/c6/212270340/c212270340-06.clip')
clip['config']['stellarFile']='/home/smullall/Science/DAVE/dave/etc/k2EpicCatalogStellarTable5.txt'
clip['config']['stellarPar']=('Mass','Rad','Teff','dis','rho','prov','logg')

print clip

If stellarPar is passed the same information as a list, everything seems to work fine. There seems to be some problem with parsing tuples.

fergalm commented 8 years ago

Susan, can you try to reproduce your bug now, and check that I've fixed it? If it works now, please close the ticket, otherwise assign back to me.