Skip to content

Commit

Permalink
ProTo: Removed HB code from StaticFile
Browse files Browse the repository at this point in the history
  • Loading branch information
morj-uio authored and sveinugu committed Nov 24, 2016
1 parent c56203e commit c7ebc4d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/proto/StaticFile.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from proto.config.Config import STATIC_PATH, STATIC_REL_PATH
from proto.CommonFunctions import ensurePathExists, getLoadToGalaxyHistoryURL, \
extractNameFromDatasetInfo
extractNameFromDatasetInfo, extractIdFromGalaxyFn, getGalaxyFilesFilename
from proto.HtmlCore import HtmlCore
import os

Expand Down Expand Up @@ -132,7 +132,6 @@ def __init__(self, id):
StaticFile.__init__(self, ['images']+id)


from proto.CommonFunctions import extractIdFromGalaxyFn, getGalaxyFilesFilename
class GalaxyRunSpecificFile(StaticFile):
'''
Handles file path and URL of static (web-accessible) files which are specific
Expand Down Expand Up @@ -162,10 +161,6 @@ def getURL(self):
def getId(self):
return extractIdFromGalaxyFn(self._galaxyFn) + self._relativeId

def getExternalTrackName(self):
name = extractNameFromDatasetInfo(self._galaxyFn)
return createStdTrackName(self.getId(), name)


class PickleStaticFile(StaticFile):
def storePickledObject(self, obj):
Expand Down

0 comments on commit c7ebc4d

Please sign in to comment.