Skip to content

Commit

Permalink
fix run_test.py and related functions
Browse files Browse the repository at this point in the history
  • Loading branch information
zfalls committed Aug 3, 2021
1 parent c75018e commit 2fa9b66
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cando/cando.py
Original file line number Diff line number Diff line change
Expand Up @@ -4529,7 +4529,10 @@ def add_cmpds(cmpd_list, file_type='smi', fp="rd_ecfp4", vect="int", cmpd_dir=".
@return Returns None
"""
start = time.time()
pre = os.path.dirname(__file__) + "/data/v2.2+/"
if v=='test.0':
pre = "cando/data/v2.2+/"
else:
pre = os.path.dirname(__file__) + "/data/v2.2+/"
# List of new compounds loaded into df
ncs = pd.read_csv(cmpd_list, sep='\t', header=None)

Expand Down

0 comments on commit 2fa9b66

Please sign in to comment.