Skip to content

Commit 7f8d7f6

Browse files
committed
clean run_test.py. Ready for v2.2 deployment.
1 parent c281990 commit 7f8d7f6

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

run_test.py

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
11
import sys, os
22
import cando as cnd
3-
#pre = os.path.dirname(cnd.__file__)
4-
#print(pre)
5-
#print('\n')
63
cnd.get_test()
7-
#cnd.get_data(v='test.0', org='test')
8-
print(os.listdir())
9-
print(os.getcwd())
104
os.chdir("cando/data/v2.2+/test")
11-
#os.system("cp -r ${PREFIX}/lib/python3.7/site-packages/cando/data")
12-
#os.system("cd ${PREFIX}/lib/python3.7/site-packages/cando/data/v2.2+/test")
13-
print(os.listdir())
145
print(os.getcwd())
156
print('\n')
167

@@ -151,7 +142,10 @@
151142
print('-------')
152143
cnd.add_cmpds(new_cmpds, cmpd_dir=cmpd_dir)
153144
cnd.generate_matrix(v="v0.0", org="test", lib_path='.', out_file=matrix_file, ncpus=ncpus)
154-
#os.system("rm -r {}/data/v2.2+/cmpds/fps-v0.0".format(pre))
155-
#os.system("rm -r {}/data/v2.2+/mappings/*-v0.0.tsv".format(pre))
156145
print('\n')
157146

147+
print("Cleaning up test data...")
148+
os.chdir("..")
149+
os.system("rm -r test")
150+
print('Done.\n')
151+

0 commit comments

Comments
 (0)