76f937a915bff2383b830cd63c9b38d32f9fdee8,test/test_api_grid.py,GridAPITest,test_grid_search,#GridAPITest#,27
Before Change
w_s.child.garbage_collect_data = False
for node in nodes:
node.disconnect()
simple_tensor = self.my_grid.search("//simple-tensor")
self.assertEqual(len(simple_tensor), 1)
zeros_tensor = self.my_grid.search("//zeros-tensor")
After Change
def test_grid_search(self):
nodes = self.connect_nodes()
alice, bob, james = nodes["alice"], nodes["bob"], nodes["james"]
simple_tensor = (
th.tensor([1, 2, 3, 4, 5]).tag("//simple-tensor").describe("Simple tensor")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: OpenMined/Grid
Commit Name: 76f937a915bff2383b830cd63c9b38d32f9fdee8
Time: 2019-08-31
Author: mariannelinharesm@gmail.com
File Name: test/test_api_grid.py
Class Name: GridAPITest
Method Name: test_grid_search
Project Name: merenlab/anvio
Commit Name: 49efa4a7260be8ed44986ad93fd3594391865c09
Time: 2020-03-22
Author: a.murat.eren@gmail.com
File Name: anvio/genomedescriptions.py
Class Name: GenomeDescriptions
Method Name: get_genome_hash_for_external_genome
Project Name: merenlab/anvio
Commit Name: 49efa4a7260be8ed44986ad93fd3594391865c09
Time: 2020-03-22
Author: a.murat.eren@gmail.com
File Name: anvio/genomedescriptions.py
Class Name: GenomeDescriptions
Method Name: get_genome_hash_for_internal_genome