Skip to content

Commit

Permalink
Support smiles without names 2
Browse files Browse the repository at this point in the history
  • Loading branch information
frolov-pchem committed Feb 4, 2022
1 parent 5392be4 commit 5a23b11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rdkit_pI/rdkit_pI.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,7 @@ def read_structure_file(inputFile):
for mol in suppl:
mol_unique_ID += 1
# unique index, mol title, fasta
if not mol.HasProp('_Name'): mol.SetProp('_Name','tmpname'+str(mol_unique_ID))
mol_supply_json[mol_unique_ID] = {'mol_name':mol.GetProp('_Name'), 'mol_obj':mol, 'fasta':''}

return mol_supply_json
Expand Down

0 comments on commit 5a23b11

Please sign in to comment.