forked from enviPath/enviPy
Fixed molfile assignment, adjusted Export
This commit is contained in:
@ -185,7 +185,7 @@ class PESStructure(CompoundStructure):
|
||||
def create(
|
||||
compound: Compound,
|
||||
pes_link: str,
|
||||
mol_file: str,
|
||||
molfile: str,
|
||||
smiles: str,
|
||||
name: str = None,
|
||||
description: str = None,
|
||||
@ -204,7 +204,7 @@ class PESStructure(CompoundStructure):
|
||||
cs.description = nh3.clean(description, tags=s.ALLOWED_HTML_TAGS).strip()
|
||||
|
||||
cs.smiles = smiles
|
||||
cs.mol_file = mol_file
|
||||
cs.molfile = molfile
|
||||
cs.pes_link = pes_link
|
||||
cs.compound = compound
|
||||
|
||||
|
||||
Reference in New Issue
Block a user