1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/3044a594eef9/ Changeset: 3044a594eef9 User: dan Date: 2013-05-02 21:46:06 Summary: Display error to user when genomespace file browser tool is used with no imported datasets. Affected #: 1 file diff -r 8d8368ab03ff95c2aa88861ed0284cf48ca73631 -r 3044a594eef9868f41d90b43f1c993def91abe9e tools/genomespace/genomespace_file_browser.py --- a/tools/genomespace/genomespace_file_browser.py +++ b/tools/genomespace/genomespace_file_browser.py @@ -113,6 +113,10 @@ if name.startswith( file_url_prefix ): name = name[len( file_url_prefix ):] file_numbers.append( int( name ) ) + if not file_numbers: + if output_filename: + open( output_filename, 'wb' ) #erase contents of file + raise Exception( "You must select at least one file to import into Galaxy." ) file_numbers.sort() used_filenames = [] for file_num in file_numbers: 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.