From b36f229e83978c152acc794428821358be4df9ab Mon Sep 17 00:00:00 2001 From: Bhavin Katabathuni Date: Mon, 18 Nov 2024 16:09:25 +0100 Subject: [PATCH] molecule as entity view update --- .../templates/snippets/ckanext_rdkit_visuals_rdkit_visuals.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/rdkit_visuals/templates/snippets/ckanext_rdkit_visuals_rdkit_visuals.html b/ckanext/rdkit_visuals/templates/snippets/ckanext_rdkit_visuals_rdkit_visuals.html index 3272fb7..6c41da3 100644 --- a/ckanext/rdkit_visuals/templates/snippets/ckanext_rdkit_visuals_rdkit_visuals.html +++ b/ckanext/rdkit_visuals/templates/snippets/ckanext_rdkit_visuals_rdkit_visuals.html @@ -1,6 +1,6 @@ {% set data_dict = { 'inchi': pkg.get('inchi'), 'smiles': pkg.get('smiles'), 'inchi_key': pkg.get('inchi_key'), 'exact_mass' : pkg.get('exactmass'),'molecular_formula': pkg.get('mol_formula') } %} -{% set mol_formula,exact_mass,inchi,iupac_name,molecule_name = h.get_molecule_data(package_id = pkg.get('id')) %} +{# {% set mol_formula,exact_mass,inchi,iupac_name,molecule_name = h.get_molecule_data(package_id = pkg.get('id')) %}#} {% set dest_url = h.url_for('rdkit_visuals.display_image', package_name = pkg.get('id'), _external=True) %} {% set molecule_formula = h.molecule_data(package_name = pkg.get('id')) %} {% set alter_names = h.alternate_names(package_name = pkg.get('id')) %}