Skip to content
Snippets Groups Projects
Commit c06e55cf authored by Rachel's avatar Rachel
Browse files

Update views.py

Former-commit-id: 79fa4dc71cae4a8c6c71eb0f6ad2b52fe5ddb197
parent 40b8a802
No related branches found
No related tags found
No related merge requests found
...@@ -98,7 +98,7 @@ class IppiWizard(NamedUrlSessionWizardView): ...@@ -98,7 +98,7 @@ class IppiWizard(NamedUrlSessionWizardView):
complex_type=self.storage.get_step_data('ProteinDomainComplexTypeForm').get('ProteinDomainComplexTypeForm-complexType') complex_type=self.storage.get_step_data('ProteinDomainComplexTypeForm').get('ProteinDomainComplexTypeForm-complexType')
complex_choice=self.storage.get_step_data('ProteinDomainComplexTypeForm').get('ProteinDomainComplexTypeForm-complexChoice') complex_choice=self.storage.get_step_data('ProteinDomainComplexTypeForm').get('ProteinDomainComplexTypeForm-complexChoice')
pks = self.storage.get_step_data('PDBForm').get('pks') pks = self.storage.get_step_data('PDBForm').get('pks')
print("Proteins",Protein.objects.filter(id__in=pks), Domain.objects.filter(id__in=pks)) print("Proteins",Protein.objects.filter(id__in=pks))
if step == 'PpiForm': if step == 'PpiForm':
initial['pdb_id'] = self.storage.get_step_data('PDBForm').get('PDBForm-pdb_id') initial['pdb_id'] = self.storage.get_step_data('PDBForm').get('PDBForm-pdb_id')
return self.initial_dict.get(step, initial) return self.initial_dict.get(step, initial)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment