Author: bugman Date: Mon Feb 21 10:22:55 2011 New Revision: 12600 URL: http://svn.gna.org/viewcvs/relax?rev=12600&view=rev Log: Added the Bruker PDC to the exp_info.software_select() backend. Modified: 1.3/generic_fns/exp_info.py Modified: 1.3/generic_fns/exp_info.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/exp_info.py?rev=12600&r1=12599&r2=12600&view=diff ============================================================================== --- 1.3/generic_fns/exp_info.py (original) +++ 1.3/generic_fns/exp_info.py Mon Feb 21 10:22:55 2011 @@ -69,11 +69,11 @@ SOFTWARE['Sparky'].tasks = ["spectral analysis"] # Protein Dynamics Center software. -SOFTWARE['Protein Dynamics Center'] = Software_store() -SOFTWARE['Protein Dynamics Center'].name = "Protein Dynamics Center" -SOFTWARE['Protein Dynamics Center'].authors = "Bruker BioSpin GmbH" -SOFTWARE['Protein Dynamics Center'].url = "http://www.bruker-biospin.com" -SOFTWARE['Protein Dynamics Center'].tasks = ["relaxation analysis"] +SOFTWARE['PDC'] = Software_store() +SOFTWARE['PDC'].name = "Protein Dynamics Center" +SOFTWARE['PDC'].authors = "Bruker BioSpin GmbH" +SOFTWARE['PDC'].url = "http://www.bruker-biospin.com" +SOFTWARE['PDC'].tasks = ["relaxation analysis"] def bmrb_write_citations(star): @@ -314,7 +314,7 @@ """ # Unknown program. - if name not in ['relax', 'NMRPipe', 'Sparky']: + if name not in ['relax', 'NMRPipe', 'Sparky', 'Bruker PDC']: raise RelaxError("The software '%s' is unknown. Please use the user function for manually specifying software details instead." % name) # Set up the experimental info data container, if needed. @@ -336,7 +336,7 @@ versions.append(version_full()) # NMRPipe. - if name == 'NMRPipe': + elif name == 'NMRPipe': # The info. cite_ids.append(['nmrpipe_ref']) keys.append(['Delaglio95']) @@ -355,6 +355,12 @@ software_keys.append('Sparky') versions.append(version) + # Bruker Protein Dynamics Center. + elif name == 'Bruker PDC': + # The info. + software_keys.append('PDC') + versions.append(version) + # Get the info box. info = Info_box()