Skip to content

Commit

Permalink
framework bug
Browse files Browse the repository at this point in the history
  • Loading branch information
fizwit committed Jul 2, 2020
1 parent db73052 commit d02e76b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def __init__(self, args):
try:
self.versionsuffix = eb.versionsuffix % self.interpolate
except AttributeError:
self.versionsuffix = ""
self.versionsuffix = ""
self.detect_language(eb)
if not self.lang:
print('Wow language is unknown!')
Expand All @@ -92,15 +92,16 @@ def __init__(self, args):
sys.stderr.write('debug - modulename: %s\n' % self.modulename)
sys.stderr.write('debug - file: %s\n' % filename[:-3])
self.dependencies = None
if 'eb.dependancies'.isidentifier():
try:
self.dependencies = eb.dependencies
self.biocver = None
except AttributeError:
print('WARNING: no dependencies defined!')
if self.lang == 'R':
try:
self.biocver = eb.local_biocver
except AttributeError:
print('WARNING: BioCondutor version is not set in easyconfig; local_biocver ')
print('framwork-biocver: {}'.format(self.biocver))
sys.exit(1)
self.check_eb_package_name(args.easyconfig)
self.out = open(args.easyconfig[:-3] + ".update", 'w')

Expand Down

0 comments on commit d02e76b

Please sign in to comment.