diff --git a/lib/galaxy/web/form_builder.py b/lib/galaxy/web/form_builder.py index 688ac7b4a9b..248285fbc8e 100644 --- a/lib/galaxy/web/form_builder.py +++ b/lib/galaxy/web/form_builder.py @@ -191,9 +191,9 @@ class FTPFileField(BaseField): def get_html( self, prefix="" ): rval = FTPFileField.thead if self.dir is None: - rval += 'Please create or log in to a Galaxy account to view files uploaded via FTP.' % ( url_for( controller='user', action='create', cntrller='user', referer=url_for( controller='root' ) ), url_for( controller='user', action='login', cntrller='user', referer=url_for( controller='root' ) ) ) + rval += 'Please create or log in to a Galaxy account to view files uploaded via FTP.' % ( url_for( controller='user', action='create', cntrller='user', referer=url_for( controller='root' ) ), url_for( controller='user', action='login', cntrller='user', referer=url_for( controller='root' ) ) ) elif not os.path.exists( self.dir ): - rval += 'Your FTP upload directory contains no files.' + rval += 'Your FTP upload directory contains no files.' else: uploads = [] for ( dirpath, dirnames, filenames ) in os.walk( self.dir ): @@ -204,7 +204,7 @@ class FTPFileField(BaseField): size=nice_size( statinfo.st_size ), ctime=time.strftime( "%m/%d/%Y %I:%M:%S %p", time.localtime( statinfo.st_ctime ) ) ) ) if not uploads: - rval += 'Your FTP upload directory contains no files.' + rval += 'Your FTP upload directory contains no files.' for upload in uploads: rval += FTPFileField.trow % ( prefix, self.name, upload['path'], upload['path'], upload['size'], upload['ctime'] ) rval += FTPFileField.tfoot diff --git a/tools/data_source/upload.xml b/tools/data_source/upload.xml index 52baca23d50..4a459a12979 100644 --- a/tools/data_source/upload.xml +++ b/tools/data_source/upload.xml @@ -177,7 +177,7 @@ Lav is the primary output format for BLASTZ. The first line of a .lav file begi **MAF** -TBA and multiz multiple alignment format. The first line of a .maf file begins with ##maf. This word is followed by white-space-separated "variable=value pairs". There should be no white space surrounding the "=". +TBA and multiz multiple alignment format. The first line of a .maf file begins with ##maf. This word is followed by white-space-separated "variable=value" pairs. There should be no white space surrounding the "=". -----