MCPcopy Index your code
hub / github.com/SpaceNetLab/StarryNet / sn_get_param

Function sn_get_param

starrynet/sn_utils.py:149–156  ·  view source on GitHub ↗
(file_)

Source from the content-addressed store, hash-verified

147
148
149def sn_get_param(file_):
150 f = open(file_)
151 ADJ = f.readlines()
152 for i in range(len(ADJ)):
153 ADJ[i] = ADJ[i].strip('\n')
154 ADJ = [x.split(',') for x in ADJ]
155 f.close()
156 return ADJ
157
158
159def sn_init_remote_machine(host, username, password):

Callers 6

get_distanceMethod · 0.70
get_neighborsMethod · 0.70
get_GSesMethod · 0.70
runMethod · 0.70
matrix_to_changeMethod · 0.70
generate_confMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected