Skip to content

Commit

Permalink
clean run_test.py. Ready for v2.2 deployment.
Browse files Browse the repository at this point in the history
  • Loading branch information
zfalls committed Aug 3, 2021
1 parent c281990 commit 7f8d7f6
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions run_test.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
import sys, os
import cando as cnd
#pre = os.path.dirname(cnd.__file__)
#print(pre)
#print('\n')
cnd.get_test()
#cnd.get_data(v='test.0', org='test')
print(os.listdir())
print(os.getcwd())
os.chdir("cando/data/v2.2+/test")
#os.system("cp -r ${PREFIX}/lib/python3.7/site-packages/cando/data")
#os.system("cd ${PREFIX}/lib/python3.7/site-packages/cando/data/v2.2+/test")
print(os.listdir())
print(os.getcwd())
print('\n')

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

print("Cleaning up test data...")
os.chdir("..")
os.system("rm -r test")
print('Done.\n')

0 comments on commit 7f8d7f6

Please sign in to comment.