diff --git a/ippisite/ippidb/management/commands/import_v1_data.py b/ippisite/ippidb/management/commands/import_v1_data.py index 79fb98a4dfddec3a55719d39350ec17912bf949a..e06733ba84aaf60b0b4759589dc92216641f5431 100644 --- a/ippisite/ippidb/management/commands/import_v1_data.py +++ b/ippisite/ippidb/management/commands/import_v1_data.py @@ -245,7 +245,7 @@ select distinct protein.NumUniprot, domain.PfamNumAccession , complexe.NbCopy, disease, created = Disease.objects.get_or_create( name=row[7]) ppi_family, created = PpiFamily.objects.get_or_create( - name=row[9]) + name=row[9].strip()) ppi.family = ppi_family ppi.pdb_id = row[4] ppi.pockets_nb = 1