Skip to content
Snippets Groups Projects
Commit ac03874f authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

strip whitespaces on PPI Family

that cleans up the "duplicate" PPI Family in the legacy DB


Former-commit-id: 415786fd78adeec26a1ed30aa1ba18d9110febd3
parent 0c1fd103
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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