Commit f44fdd19 authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

allowing to have descriptor not set

fixes #41
parent 242e84dd
Pipeline #9605 passed with stages
in 11 minutes and 59 seconds
# Generated by Django 2.0.10 on 2019-02-13 14:06
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('ippidb', '0017_auto_20181220_1117'),
]
operations = [
migrations.AlterField(
model_name='compound',
name='a_log_p',
field=models.DecimalField(blank=True, decimal_places=2, max_digits=4, null=True, verbose_name='ALogP (Partition coefficient octanol-1/water)'),
),
migrations.AlterField(
model_name='compound',
name='aromatic_ratio',
field=models.DecimalField(blank=True, decimal_places=2, max_digits=3, null=True, verbose_name='Aromatic ratio'),
),
migrations.AlterField(
model_name='compound',
name='balaban_index',
field=models.DecimalField(blank=True, decimal_places=2, max_digits=3, null=True, verbose_name='Balaban index'),
),
migrations.AlterField(
model_name='compound',
name='fsp3',
field=models.DecimalField(blank=True, decimal_places=2, max_digits=3, null=True, verbose_name='Fsp3'),
),
migrations.AlterField(
model_name='compound',
name='gc_molar_refractivity',
field=models.DecimalField(blank=True, decimal_places=2, max_digits=5, null=True, verbose_name='GC Molar Refractivity'),
),
migrations.AlterField(
model_name='compound',
name='inchi',
field=models.TextField(blank=True, null=True, verbose_name='InChi'),
),
migrations.AlterField(
model_name='compound',
name='inchikey',
field=models.TextField(blank=True, null=True, verbose_name='InChiKey'),
),
migrations.AlterField(
model_name='compound',
name='log_d',
field=models.DecimalField(blank=True, decimal_places=2, max_digits=4, null=True, verbose_name='LogD (Partition coefficient octanol-1/water, with pKa information)'),
),
migrations.AlterField(
model_name='compound',
name='mean_atom_vol_vdw',
field=models.DecimalField(blank=True, decimal_places=2, max_digits=4, null=True, verbose_name='Mean atom volume computed with VdW radii'),
),
migrations.AlterField(
model_name='compound',
name='molecular_weight',
field=models.DecimalField(blank=True, decimal_places=2, max_digits=6, null=True, verbose_name='Molecular weight'),
),
migrations.AlterField(
model_name='compound',
name='nb_acceptor_h',
field=models.IntegerField(blank=True, null=True, verbose_name='Number of hydrogen bond acceptors'),
),
migrations.AlterField(
model_name='compound',
name='nb_aliphatic_amines',
field=models.IntegerField(blank=True, null=True, verbose_name='Number of aliphatics amines'),
),
migrations.AlterField(
model_name='compound',
name='nb_aromatic_bonds',
field=models.IntegerField(blank=True, null=True, verbose_name='Number of aromatic bonds'),
),
migrations.AlterField(
model_name='compound',
name='nb_aromatic_ether',
field=models.IntegerField(blank=True, null=True, verbose_name='Number of aromatic ethers'),
),
migrations.AlterField(
model_name='compound',
name='nb_aromatic_sssr',
field=models.IntegerField(blank=True, null=True, verbose_name='Number of aromatic Smallest Set of System Rings (SSSR)'),
),
migrations.AlterField(
model_name='compound',
name='nb_atom',
field=models.IntegerField(blank=True, null=True, verbose_name='Number of atoms'),
),
migrations.AlterField(
model_name='compound',
name='nb_atom_non_h',
field=models.IntegerField(blank=True, null=True, verbose_name='Number of non hydrogen atoms'),
),
migrations.AlterField(
model_name='compound',
name='nb_benzene_like_rings',
field=models.IntegerField(blank=True, null=True, verbose_name='Number of benzene-like rings'),
),
migrations.AlterField(
model_name='compound',
name='nb_bonds',
field=models.IntegerField(blank=True, null=True, verbose_name='Number of bonds'),
),
migrations.AlterField(
model_name='compound',
name='nb_bonds_non_h',
field=models.IntegerField(blank=True, null=True, verbose_name='Number of bonds not involving a hydrogen'),
),
migrations.AlterField(
model_name='compound',
name='nb_br',
field=models.IntegerField(blank=True, null=True, verbose_name='Number of Bromine atoms'),
),
migrations.AlterField(
model_name='compound',
name='nb_c',
field=models.IntegerField(blank=True, null=True, verbose_name='Number of Carbon atoms'),
),
migrations.AlterField(
model_name='compound',
name='nb_chiral_centers',
field=models.IntegerField(blank=True, null=True, verbose_name='Number of chiral centers'),
),
migrations.AlterField(
model_name='compound',
name='nb_circuits',
field=models.IntegerField(blank=True, null=True, verbose_name='Number of circuits'),
),
migrations.AlterField(
model_name='compound',
name='nb_cl',
field=models.IntegerField(blank=True, null=True, verbose_name='Number of Chlorine atoms'),
),
migrations.AlterField(
model_name='compound',
name='nb_csp2',
field=models.IntegerField(blank=True, null=True, verbose_name='Number of sp2-hybridized carbon atoms'),
),
migrations.AlterField(
model_name='compound',
name='nb_csp3',
field=models.IntegerField(blank=True, null=True, verbose_name='Number of sp3-hybridized carbon atoms'),
),
migrations.AlterField(
model_name='compound',
name='nb_donor_h',
field=models.IntegerField(blank=True, null=True, verbose_name='Number of hydrogen bond donors'),
),
migrations.AlterField(
model_name='compound',
name='nb_double_bonds',
field=models.IntegerField(blank=True, null=True, verbose_name='Number of double bonds'),
),
migrations.AlterField(
model_name='compound',
name='nb_f',
field=models.IntegerField(blank=True, null=True, verbose_name='Number of fluorine atoms'),
),
migrations.AlterField(
model_name='compound',
name='nb_i',
field=models.IntegerField(blank=True, null=True, verbose_name='Number of iodine atoms'),
),
migrations.AlterField(
model_name='compound',
name='nb_multiple_bonds',
field=models.IntegerField(blank=True, null=True, verbose_name='Number of multiple bonds'),
),
migrations.AlterField(
model_name='compound',
name='nb_n',
field=models.IntegerField(blank=True, null=True, verbose_name='Number of nitrogen atoms'),
),
migrations.AlterField(
model_name='compound',
name='nb_o',
field=models.IntegerField(blank=True, null=True, verbose_name='Number of oxygen atoms'),
),
migrations.AlterField(
model_name='compound',
name='nb_rings',
field=models.IntegerField(blank=True, null=True, verbose_name='Number of rings'),
),
migrations.AlterField(
model_name='compound',
name='nb_rotatable_bonds',
field=models.IntegerField(blank=True, null=True, verbose_name='Number of rotatable bonds'),
),
migrations.AlterField(
model_name='compound',
name='randic_index',
field=models.DecimalField(blank=True, decimal_places=2, max_digits=4, null=True, verbose_name='Randic index'),
),
migrations.AlterField(
model_name='compound',
name='rdf070m',
field=models.DecimalField(blank=True, decimal_places=2, max_digits=5, null=True, verbose_name='RDF070m, radial distribution function weighted by the atomic masses at 7Å'),
),
migrations.AlterField(
model_name='compound',
name='rotatable_bond_fraction',
field=models.DecimalField(blank=True, decimal_places=2, max_digits=3, null=True, verbose_name='Fraction of rotatable bonds'),
),
migrations.AlterField(
model_name='compound',
name='sum_atom_polar',
field=models.DecimalField(blank=True, decimal_places=2, max_digits=5, null=True, verbose_name='Sum of atomic polarizabilities'),
),
migrations.AlterField(
model_name='compound',
name='sum_atom_vol_vdw',
field=models.DecimalField(blank=True, decimal_places=2, max_digits=6, null=True, verbose_name='Sum of atom volumes computed with VdW radii'),
),
migrations.AlterField(
model_name='compound',
name='tpsa',
field=models.DecimalField(blank=True, decimal_places=2, max_digits=5, null=True, verbose_name='Topological Polar Surface Area (TPSA)'),
),
migrations.AlterField(
model_name='compound',
name='ui',
field=models.DecimalField(blank=True, decimal_places=2, max_digits=4, null=True, verbose_name='Unsaturation index'),
),
migrations.AlterField(
model_name='compound',
name='wiener_index',
field=models.IntegerField(blank=True, null=True, verbose_name='Wiener index'),
),
]
......@@ -456,163 +456,251 @@ class Compound(AutoFillableModel):
verbose_name='Aromatic ratio',
max_digits=3,
decimal_places=2,
blank=True,
null=True,
)
balaban_index = models.DecimalField(
verbose_name='Balaban index',
max_digits=3,
decimal_places=2,
blank=True,
null=True,
)
fsp3 = models.DecimalField(
verbose_name='Fsp3',
max_digits=3,
decimal_places=2,
blank=True,
null=True,
)
gc_molar_refractivity = models.DecimalField(
verbose_name='GC Molar Refractivity',
max_digits=5,
decimal_places=2,
blank=True,
null=True,
)
log_d = models.DecimalField(
verbose_name='LogD (Partition coefficient octanol-1/water, with pKa information)',
max_digits=4,
decimal_places=2,
blank=True,
null=True,
)
a_log_p = models.DecimalField(
verbose_name='ALogP (Partition coefficient octanol-1/water)',
max_digits=4,
decimal_places=2,
blank=True,
null=True,
)
mean_atom_vol_vdw = models.DecimalField(
verbose_name='Mean atom volume computed with VdW radii',
max_digits=4,
decimal_places=2,
blank=True,
null=True,
)
molecular_weight = models.DecimalField(
verbose_name='Molecular weight',
max_digits=6,
decimal_places=2,
blank=True,
null=True,
)
nb_acceptor_h = models.IntegerField(
verbose_name='Number of hydrogen bond acceptors',
blank=True,
null=True,
)
nb_aliphatic_amines = models.IntegerField(
verbose_name='Number of aliphatics amines',
blank=True,
null=True,
)
nb_aromatic_bonds = models.IntegerField(
verbose_name='Number of aromatic bonds',
blank=True,
null=True,
)
nb_aromatic_ether = models.IntegerField(
verbose_name='Number of aromatic ethers',
blank=True,
null=True,
)
nb_aromatic_sssr = models.IntegerField(
verbose_name='Number of aromatic Smallest Set of System Rings (SSSR)',
blank=True,
null=True,
)
nb_atom = models.IntegerField(
verbose_name='Number of atoms',
blank=True,
null=True,
)
nb_atom_non_h = models.IntegerField(
verbose_name='Number of non hydrogen atoms',
blank=True,
null=True,
)
nb_benzene_like_rings = models.IntegerField(
verbose_name='Number of benzene-like rings',
blank=True,
null=True,
)
nb_bonds = models.IntegerField(
verbose_name='Number of bonds',
blank=True,
null=True,
)
nb_bonds_non_h = models.IntegerField(
verbose_name='Number of bonds not involving a hydrogen',
blank=True,
null=True,
)
nb_br = models.IntegerField(
verbose_name='Number of Bromine atoms',
blank=True,
null=True,
)
nb_c = models.IntegerField(
verbose_name='Number of Carbon atoms',
blank=True,
null=True,
)
nb_chiral_centers = models.IntegerField(
verbose_name='Number of chiral centers',
blank=True,
null=True,
)
nb_circuits = models.IntegerField(
verbose_name='Number of circuits',
blank=True,
null=True,
)
nb_cl = models.IntegerField(
verbose_name='Number of Chlorine atoms',
blank=True,
null=True,
)
nb_csp2 = models.IntegerField(
verbose_name='Number of sp2-hybridized carbon atoms',
blank=True,
null=True,
)
nb_csp3 = models.IntegerField(
verbose_name='Number of sp3-hybridized carbon atoms',
blank=True,
null=True,
)
nb_donor_h = models.IntegerField(
verbose_name='Number of hydrogen bond donors',
blank=True,
null=True,
)
nb_double_bonds = models.IntegerField(
verbose_name='Number of double bonds',
blank=True,
null=True,
)
nb_f = models.IntegerField(
verbose_name='Number of fluorine atoms',
blank=True,
null=True,
)
nb_i = models.IntegerField(
verbose_name='Number of iodine atoms',
blank=True,
null=True,
)
nb_multiple_bonds = models.IntegerField(
verbose_name='Number of multiple bonds',
blank=True,
null=True,
)
nb_n = models.IntegerField(
verbose_name='Number of nitrogen atoms',
blank=True,
null=True,
)
nb_o = models.IntegerField(
verbose_name='Number of oxygen atoms',
blank=True,
null=True,
)
nb_rings = models.IntegerField(
verbose_name='Number of rings',
blank=True,
null=True,
)
nb_rotatable_bonds = models.IntegerField(
verbose_name='Number of rotatable bonds',
blank=True,
null=True,
)
inchi = models.TextField(
verbose_name='InChi',
blank=True,
null=True,
)
inchikey = models.TextField(
verbose_name='InChiKey',
blank=True,
null=True,
)
randic_index = models.DecimalField(
verbose_name='Randic index',
max_digits=4,
decimal_places=2,
blank=True,
null=True,
)
rdf070m = models.DecimalField(
verbose_name='RDF070m, radial distribution function weighted by the atomic masses at 7Å',
max_digits=5,
decimal_places=2,
blank=True,
null=True,
)
rotatable_bond_fraction = models.DecimalField(
verbose_name='Fraction of rotatable bonds',
max_digits=3,
decimal_places=2,
blank=True,
null=True,
)
sum_atom_polar = models.DecimalField(
verbose_name='Sum of atomic polarizabilities',
max_digits=5,
decimal_places=2,
blank=True,
null=True,
)
sum_atom_vol_vdw = models.DecimalField(
verbose_name='Sum of atom volumes computed with VdW radii',
max_digits=6,
decimal_places=2,
blank=True,
null=True,
)
tpsa = models.DecimalField(
verbose_name='Topological Polar Surface Area (TPSA)',
max_digits=5,
decimal_places=2,
blank=True,
null=True,
)
ui = models.DecimalField(
verbose_name='Unsaturation index',
max_digits=4,
decimal_places=2,
blank=True,
null=True,
)
wiener_index = models.IntegerField(
verbose_name='Wiener index',
blank=True,
null=True,
)
common_name = models.CharField(
verbose_name='Common name',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment