Commit 19204e23 authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

code gardening (make flake8/black happy)

parent 3a3021d3
Pipeline #28831 failed with stages
in 9 minutes and 28 seconds
......@@ -395,15 +395,7 @@ class IppiWizard(
bibliography.autofill()
return bibliography
if self.steps.current == "ProteinDomainComplexTypeForm":
print (
"blablabla",
self.storage.get_step_data("PDBForm").get("PDBForm-proteins"),
)
protein_ids = self.storage.get_step_data("PDBForm").get("PDBForm-proteins")
print (
"blablabla",
self.storage.get_step_data("PDBForm").get("PDBForm-proteins"),
)
return models.Protein.objects.filter(id__in=protein_ids)
def get_template_names(self):
......@@ -583,7 +575,7 @@ def admin_session_view(request, biblio_pk, ppi_pk, contribution_pk=None):
contribution = get_object_or_404(models.Contribution, pk=contribution_pk)
bibliography = contribution.bibliography
ppi = contribution.ppi
context["contribution"] = contribution
context["contribution"] = contribution
else:
bibliography = None
ppi = None
......
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