You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to epam/ketcher#3393 backend should return original format by using "original_format": "$format" (where $format is one of the currently support content types)
Add two new options in "options":
input-format - set input format to load from. same values as used in output-format
output-content-type - if set to 'application/json' - functions will return json with next format:
{
"struct": output_molecule,
"format": output_format,
"original_format": original_format,
}
Where 'output_molecule' - molecule in output format, 'output_format' - output format name like 'chemical/x-daylight-smiles', 'original_format' - format used to load molecule.
The text was updated successfully, but these errors were encountered:
AliaksandrDziarkach
changed the title
Return original format.
Return original format from convert and allign function.
Oct 9, 2023
AliaksandrDziarkach
changed the title
Return original format from convert and allign function.
Return original format from convert and layout function
Oct 9, 2023
According to epam/ketcher#3393 backend should return original format by using "original_format": "$format" (where $format is one of the currently support content types)
Add two new options in "options":
{
"struct": output_molecule,
"format": output_format,
"original_format": original_format,
}
Where 'output_molecule' - molecule in output format, 'output_format' - output format name like 'chemical/x-daylight-smiles', 'original_format' - format used to load molecule.
The text was updated successfully, but these errors were encountered: