Author: bugman Date: Tue Oct 13 19:21:22 2009 New Revision: 9759 URL: http://svn.gna.org/viewcvs/relax?rev=9759&view=rev Log: Modified the BMRB system test to catch the citation ID number and pass it into bmrb.software(). Modified: branches/bmrb/test_suite/system_tests/scripts/bmrb_rw.py Modified: branches/bmrb/test_suite/system_tests/scripts/bmrb_rw.py URL: http://svn.gna.org/viewcvs/relax/branches/bmrb/test_suite/system_tests/scripts/bmrb_rw.py?rev=9759&r1=9758&r2=9759&view=diff ============================================================================== --- branches/bmrb/test_suite/system_tests/scripts/bmrb_rw.py (original) +++ branches/bmrb/test_suite/system_tests/scripts/bmrb_rw.py Tue Oct 13 19:21:22 2009 @@ -36,8 +36,8 @@ # Set up some BMRB information. bmrb.software_select('NMRPipe') bmrb.software_select('Sparky', version='3.106') -bmrb.software(name='X', url='http://X.X.X', vendor_name='me', cite='Nothing!', tasks=['procrastinating', 'nothing much', 'wasting time']) -bmrb.citation(authors=[["Edward", "d'Auvergne", "E.", "J."], ["Paul", "Gooley", "P.", "R."]], doi="10.1039/b702202f", pubmed_id="17579774", full_citation="d'Auvergne E. J., Gooley P. R. (2007). Set theory formulation of the model-free problem and the diffusion seeded model-free paradigm. Mol. Biosyst., 3(7), 483-494.", title="Set theory formulation of the model-free problem and the diffusion seeded model-free paradigm.", status="published", type="journal", journal_abbrev="Mol. Biosyst.", journal_full="Molecular Biosystems", volume=3, issue=7, page_first=483, page_last=498, year=2007) +cite_id = bmrb.citation(authors=[["Edward", "d'Auvergne", "E.", "J."], ["Paul", "Gooley", "P.", "R."]], doi="10.1039/b702202f", pubmed_id="17579774", full_citation="d'Auvergne E. J., Gooley P. R. (2007). Set theory formulation of the model-free problem and the diffusion seeded model-free paradigm. Mol. Biosyst., 3(7), 483-494.", title="Set theory formulation of the model-free problem and the diffusion seeded model-free paradigm.", status="published", type="journal", journal_abbrev="Mol. Biosyst.", journal_full="Molecular Biosystems", volume=3, issue=7, page_first=483, page_last=498, year=2007) +bmrb.software(name='X', url='http://nmr-relax.com', vendor_name='me', cite=[cite_id], tasks=['procrastinating', 'nothing much', 'wasting time']) # Write, then read the data to a new data pipe. bmrb.write(file=ds.tmpfile, dir=None, version=ds.version, force=True)