Commits

Nate Coraor committed 12b14f3

Fix the data transfer script to work with new API library content ids.

  • Participants
  • Parent commits db6b788

Comments (0)

Files changed (1)

File scripts/galaxy_messaging/server/data_transfer.py

         self.update_status( SampleDataset.transfer_status.ADD_TO_LIBRARY )
         try:
             data = {}
-            data[ 'folder_id' ] = api.encode_id( self.config_id_secret, '%s.%s' % (  'folder', self.folder_id ) )
+            data[ 'folder_id' ] = 'F%s' % api.encode_id( self.config_id_secret, self.folder_id )
             data[ 'file_type' ] = 'auto'
             data[ 'server_dir' ] = self.server_dir
             data[ 'dbkey' ] = ''