Skip to content

Commit

Permalink
Update frag_utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunp2 authored Dec 8, 2023
1 parent aad2bd7 commit 4f0633b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mofa/utils/frag_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ def check_2d_filters(toks, pains_smarts, count=0, verbose=False):

return False

def check_2d_filters_dataset(fragmentations, n_cores=1, pains_smarts_loc='utils/wehi_pains.csv'):
def check_2d_filters_dataset(fragmentations, n_cores=1, pains_smarts_loc='mofa/utils/wehi_pains.csv'):
# Load pains filters
with open(pains_smarts_loc, 'r') as f:
pains_smarts = [Chem.MolFromSmarts(line[0], mergeHs=True) for line in csv.reader(f)]
Expand Down

0 comments on commit 4f0633b

Please sign in to comment.