commit/galaxy-central: 2 new changesets
2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/412b9edb65ec/ Changeset: 412b9edb65ec Branch: next-stable User: jmchilton Date: 2013-05-26 22:15:19 Summary: Fix job splitting to rewrite references in config files in addition to command-line. Affected #: 1 file diff -r 69f70d84619de8024e8de7ef5669bda6dfaffce8 -r 412b9edb65ec78b029cae0969956b194c16ac053 lib/galaxy/jobs/__init__.py --- a/lib/galaxy/jobs/__init__.py +++ b/lib/galaxy/jobs/__init__.py @@ -1573,6 +1573,12 @@ self.sa_session.flush() # Build any required config files config_filenames = self.tool.build_config_files( param_dict, self.working_directory ) + for config_filename in config_filenames: + config_contents = open(config_filename, "r").read() + for k, v in fnames.iteritems(): + config_contents = config_contents.replace(k, v) + open(config_filename, "w").write(config_contents) + # FIXME: Build the param file (might return None, DEPRECATED) param_filename = self.tool.build_param_file( param_dict, self.working_directory ) # Build the job's command line https://bitbucket.org/galaxy/galaxy-central/commits/79d036fbc175/ Changeset: 79d036fbc175 User: dannon Date: 2013-05-28 20:44:29 Summary: Merge PR169 to next-stable Affected #: 0 files Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org