diff --git a/ippisite/ippidb/templates/compound_t_list.html b/ippisite/ippidb/templates/compound_t_list.html index ec6da9dc1ccba090e09d7629315c4e2ec96d7c2d..54022ac3fdf9c5ae1f343877adb4d687f5b6e12f 100644 --- a/ippisite/ippidb/templates/compound_t_list.html +++ b/ippisite/ippidb/templates/compound_t_list.html @@ -18,7 +18,7 @@ <th scope="col">{{ compound.common_name|default_if_none:"-" }}</th> <th scope="col">{{ compound.molecular_weight}} g/mol</th> <th scope="col">{{ compound.a_log_p }}</th> - <th scope="col">{% for pdb_id in compound.compound_action_pdb_ids %}{{ pdb_id }}{% endfor %}</th> + <th scope="col">{% for pdb_id in compound.compound_action_pdb_ids %}{{ pdb_id | default_if_none:""}}{% endfor %}</th> <th scope="col"> ? </th> <th scope="col"> ? </th> <th scope="col">{{ compound.biblio_refs|length }}</th>