diff --git a/ippisite/ippidb/forms.py b/ippisite/ippidb/forms.py index fc4df4cfc2358a924b63f0d9f2a35f3fb05287eb..e98f56819bf72f0f8feffd4daf6233fad2f4f9dd 100644 --- a/ippisite/ippidb/forms.py +++ b/ippisite/ippidb/forms.py @@ -424,10 +424,6 @@ class ComplexCompositionBaseFormSet(forms.BaseFormSet): if form.cleaned_data.get("DELETE", False): continue complex_type_dict.add(form.cleaned_data.get("complex_type")) - if self.has_bound and self.has_partner and len(complex_type_dict) < 2: - self._non_form_errors.append( - _("You need at least one bound and one partner") - ) def __init__( self, diff --git a/ippisite/requirements-dev-rachel.txt b/ippisite/requirements-dev-rachel.txt new file mode 100644 index 0000000000000000000000000000000000000000..159e4b22264770293156b7273c2ab060fd3b29f9 --- /dev/null +++ b/ippisite/requirements-dev-rachel.txt @@ -0,0 +1,18 @@ +-r requirements-rachel.txt +# linting and formatting +flake8 +black +flake8-black +# documentation generation +sphinx +sphinx_rtd_theme +# coverage +coverage +# tests +requests-cache +parameterized +# dependencies to generate graph models using django-extensions +#pygraphviz +#pydot +pyparsing +pyyaml>=5.1 \ No newline at end of file diff --git a/ippisite/requirements-rachel.txt b/ippisite/requirements-rachel.txt index dd38c1d9427d4e6e1107a4307363ed11e85dfae8..662749c052669318b881567ef97c49cda31caff5 100644 --- a/ippisite/requirements-rachel.txt +++ b/ippisite/requirements-rachel.txt @@ -6,18 +6,24 @@ django-extensions django-formtools django-debug-toolbar django-allauth +django-celery-results==1.2.1 # import scripts pandas==1.0.5 +openpyxl +xlwt # web services bioservices bioblend bs4 +chembl_webresource_client # libraries to compute PCA sklearn scipy matplotlib==2.2.3 #Matplotlib 3.0+ does not support Python 2.x, 3.0, 3.1, 3.2, 3.3, or 3.4. +seaborn # postgres driver #psycopg2 +psycopg2-binary git+https://gitlab.pasteur.fr/hmenager/django-diu.git#egg=django_diu # openbabel is not installed from pip for now # openbabel