Skip to content

Commit

Permalink
Merge pull request #46 from berentx/fix_fingerprints_script
Browse files Browse the repository at this point in the history
fix typo in scripts/fingerprints.py file
  • Loading branch information
davidegraff authored Apr 20, 2023
2 parents 485ee8e + 51ca04a commit a403233
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/fingerprints.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,15 +256,15 @@ def main():
)
args = parser.parse_args()
args.title_line = not args.no_title_line
path = (args.output or Path(args.libraries[0])).with_suffix(".h5")
path = (args.output or Path(args.library[0])).with_suffix(".h5")
if args.total_size is None:
args.total_size = sum(
1 for _ in get_smis(args.libraries, args.title_line, args.delimiter, args.smiles_col)
1 for _ in get_smis(args.library, args.title_line, args.delimiter, args.smiles_col)
)

print("Precalculating feature matrix ...", end=" ")

smis = get_smis(args.libraries, args.title_line, args.delimiter, args.smiles_col)
smis = get_smis(args.library, args.title_line, args.delimiter, args.smiles_col)
fps, invalid_lines = fps_hdf5(
smis, args.total_size, args.fingerprint, args.radius, args.length, path
)
Expand Down

0 comments on commit a403233

Please sign in to comment.