EnzymeML / PyEnzyme

🧬 - Data management and modeling framework based on EnzymeML.
BSD 2-Clause "Simplified" License
21 stars 9 forks source link

Can't read in excel template if no SMILES or InCHI code is given #50

Closed benjaminhadzovic closed 2 years ago

benjaminhadzovic commented 2 years ago

I have trouble reading the template with the code: enzmldoc = pe.EnzymeMLDocument.fromTemplate("Example.xlsx") when no InCHI or SMILES code is given. In the template documentation SMILES and InCHI should be a optional field.

Error: SpeciesNotFoundError: Pyruvate in Reactant -> Species ID has not been found

Here is the template: Example.xlsx

After adding a string to InCHI or SMILES column the template can be read in. For example this template can be read in: Example2.xlsx