Skip to content

Commit c64074e

Browse files
committed
remove duplication by converting list of formulas to set
1 parent efaa09e commit c64074e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/pubchem.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,6 @@ def load_jsons(json_path):
7171
# pool = ProcessingPool(os.cpu_count())
7272
# pool.map(process_sdf, sdfs, range(len(sdfs)), [len(sdfs)]*len(sdfs))
7373
mols = load_jsons(sdf_path)
74+
mols_rd = list(set(mols))
7475

7576

0 commit comments

Comments
 (0)