8bc3ada5028661b5f42cf624f7f88444d22ec7f0,studio/ec2cloud_worker.py,EC2WorkerManager,_get_image_id,#EC2WorkerManager#,98
Before Change
self.logger.warn("User startup script argument is deprecated")
def _get_image_id(self):
return "ami-cd0f5cb6" // vanilla ubuntu 16.04 image
// return "ami-b5f576cf" // studio.ml gpu image with python2 and python3
def _get_block_device_mappings(self, resources_needed):
After Change
self.logger.warn("User startup script argument is deprecated")
def _get_image_id(self):
price_path = os.path.join(os.path.dirname(__file__), "aws/aws_amis.yaml")
with open(price_path) as f:
ami_dict = yaml.loads(f.read())
region = self.client._client_config.region_name
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances
Project Name: studioml/studio
Commit Name: 8bc3ada5028661b5f42cf624f7f88444d22ec7f0
Time: 2017-11-17
Author: peter.zhokhov@sentient.ai
File Name: studio/ec2cloud_worker.py
Class Name: EC2WorkerManager
Method Name: _get_image_id
Project Name: pantsbuild/pants
Commit Name: 7a781ca9f161f3f56f39a87503f461e91d712ab3
Time: 2016-03-08
Author: stuhood@gmail.com
File Name: tests/python/pants_test/engine/exp/test_graph.py
Class Name: GraphTestBase
Method Name: create
Project Name: CellProfiler/CellProfiler
Commit Name: bf7450ca93038d309e40fc297f8e9bc67fa6e339
Time: 2015-10-07
Author: leek@broadinstitute.org
File Name: cellprofiler/modules/tests/test_identifyprimaryobjects.py
Class Name:
Method Name: fly_image