Skip to content

Commit

Permalink
Merge pull request #53 from JacksonBurns/patch-1
Browse files Browse the repository at this point in the history
Fix Incompatibility with Python 3.12
  • Loading branch information
tjkessler authored Nov 10, 2023
2 parents 6b992b4 + c011c4e commit da6d36e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion padelpy/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def from_smiles(smiles,
maxruntime = maxruntime * 1000

timestamp = datetime.now().strftime("%Y%m%d%H%M%S%f")#[:-3]
filename = timestamp + str(random.randint(1e8,1e9))
filename = timestamp + str(random.randint(int(1e8),int(1e9)))

with open("{}.smi".format(filename), "w") as smi_file:
if type(smiles) == str:
Expand Down

0 comments on commit da6d36e

Please sign in to comment.