Skip to content

Commit

Permalink
Merge pull request #62 from nlesc-nano/dev
Browse files Browse the repository at this point in the history
run fast sigma using a single Core
  • Loading branch information
felipeZ committed Mar 12, 2021
2 parents f189f6c + 1cfc4c6 commit cd31a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flamingo/cat_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def compute_cosmo_rs(
"""
try:
with tempfile.TemporaryDirectory(prefix="cosmo_rs_", dir=workdir) as output_dir:
rs = run_fast_sigma(molecules.smiles, solvents, output_dir=output_dir, return_df=True)
rs = run_fast_sigma(molecules.smiles, solvents, output_dir=output_dir, return_df=True, processes=1)
molecules = pd.merge(molecules, rs, left_on="smiles", right_index=True)
except RuntimeError:
pass
Expand Down

0 comments on commit cd31a7e

Please sign in to comment.