Author: michaelbieri Date: Thu Apr 22 06:36:10 2010 New Revision: 11117 URL: http://svn.gna.org/viewcvs/relax?rev=11117&view=rev Log: Dummy file is created for unresolved residues. Modified: branches/bieri_gui/gui_bieri/analyses/auto_model_free.py Modified: branches/bieri_gui/gui_bieri/analyses/auto_model_free.py URL: http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/analyses/auto_model_free.py?rev=11117&r1=11116&r2=11117&view=diff ============================================================================== --- branches/bieri_gui/gui_bieri/analyses/auto_model_free.py (original) +++ branches/bieri_gui/gui_bieri/analyses/auto_model_free.py Thu Apr 22 06:36:10 2010 @@ -34,6 +34,8 @@ # relax module imports. from auto_analyses.dauvergne_protocol import dAuvergne_protocol from data import Relax_data_store; ds = Relax_data_store() +from relax_io import DummyFileObject + # relax GUI module imports. from gui_bieri.analyses.results_analysis import model_free_results, see_results @@ -558,10 +560,13 @@ data.relax_data.append(['R2', str(frq), float(frq)*1e6, files[2], None, None, 2, 3, 4, 5, 6, 7, None]) data.relax_data.append(['NOE', str(frq), float(frq)*1e6, files[0], None, None, 2, 3, 4, 5, 6, 7, None]) - # The file containing the list of unresolved spins to exclude from the analysis (set this to None if no spin is to be excluded). - # FIXME: The unresolved file is not properly handled! - data.unres = self.data.results_dir_model + sep + 'unresolved' - data.unres = None + # Unresolved resiudes + file = DummyFileObject() + entries = self.data.unresolved + entries = replace(entries, ',', '\n') + file.write(entries) + file.close() + data.unres = file # A file containing a list of spins which can be dynamically excluded at any point within the analysis (when set to None, this variable is not used). data.exclude = None