Skip to content

Commit

Permalink
Make ami_id configurable (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-veit authored Nov 3, 2021
1 parent 35f3cdb commit fee5132
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tibanna/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Version information."""

# The following line *must* be the last in the module, exactly as formatted:
__version__ = "1.8.0"
__version__ = "1.8.1"
7 changes: 4 additions & 3 deletions tibanna/ec2_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,9 @@ def fill_default(self):
self.mem_as_is = False
if not hasattr(self, 'ebs_size_as_is'): # if false, add 5GB overhead
self.ebs_size_as_is = False

if not hasattr(self, 'ami_id'):
self.ami_id = AMI_ID

def fill_internal(self):
# fill internally-used fields (users cannot specify these fields)
# script url
Expand All @@ -320,8 +322,7 @@ def fill_internal(self):
self.json_bucket = self.log_bucket

def fill_language_options(self, language='cwl_v1', singularity=False):
"""fill in ami_id and language fields (these are also internal)"""
self.ami_id = AMI_ID
"""fill in language fields (these are also internal)"""
if singularity:
self.singularity = True
self.language = language
Expand Down

0 comments on commit fee5132

Please sign in to comment.