diff --git a/ippisite/ippidb/forms.py b/ippisite/ippidb/forms.py index ca533c4b39b7eda98296c5f5d5a2af6ec25920d9..9eb60d3529aa9b2e68f2b69b97f578779210840b 100644 --- a/ippisite/ippidb/forms.py +++ b/ippisite/ippidb/forms.py @@ -620,7 +620,7 @@ class CompoundForm(forms.Form): def full_clean(self): super().full_clean() - if not self.is_bound: # Stop further processing. + if not self.is_bound or self.cleaned_data.get('DELETE')==True : # Stop further processing. return smiles = None if (