Skip to content
Snippets Groups Projects
Commit ffd7b50b authored by sveseli's avatar sveseli
Browse files

plugin modifications needed to support new daq and upload tracking framework

parent 9d8333ef
No related branches found
No related tags found
No related merge requests found
...@@ -22,10 +22,9 @@ class FileTransferPlugin(FileProcessor): ...@@ -22,10 +22,9 @@ class FileTransferPlugin(FileProcessor):
def processFile(self, fileInfo): def processFile(self, fileInfo):
filePath = fileInfo.get('filePath') filePath = fileInfo.get('filePath')
dataDirectory = fileInfo.get('dataDirectory') dataDirectory = fileInfo.get('dataDirectory')
experiment = fileInfo.get('experiment')
storageHost = experiment.get('storageHost') storageHost = fileInfo.get('storageHost')
storageDirectory = experiment.get('storageDirectory') storageDirectory = fileInfo.get('storageDirectory')
destUrl = self.getDestUrl(filePath, dataDirectory, storageHost, storageDirectory) destUrl = self.getDestUrl(filePath, dataDirectory, storageHost, storageDirectory)
srcUrl = self.getSrcUrl(filePath, dataDirectory) srcUrl = self.getSrcUrl(filePath, dataDirectory)
self.start(srcUrl, destUrl) self.start(srcUrl, destUrl)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment