diff --git a/gocam_viz/admin.py b/gocam_viz/admin.py index 8c38f3f..b97a94f 100644 --- a/gocam_viz/admin.py +++ b/gocam_viz/admin.py @@ -1,3 +1,2 @@ -from django.contrib import admin # Register your models here. diff --git a/gocam_viz/tests.py b/gocam_viz/tests.py index 7ce503c..4929020 100644 --- a/gocam_viz/tests.py +++ b/gocam_viz/tests.py @@ -1,3 +1,2 @@ -from django.test import TestCase # Create your tests here. diff --git a/gocam_viz/views.py b/gocam_viz/views.py index a9f993a..7c10360 100644 --- a/gocam_viz/views.py +++ b/gocam_viz/views.py @@ -9,7 +9,7 @@ def index(request): else: graph_height = 650 - gocam_viz_html = f""; + gocam_viz_html = f"" context = { # 'full_or_widget': full_or_widget, diff --git a/rna_2d_structure/admin.py b/rna_2d_structure/admin.py index 694323f..e69de29 100644 --- a/rna_2d_structure/admin.py +++ b/rna_2d_structure/admin.py @@ -1 +0,0 @@ -from django.contrib import admin diff --git a/rna_2d_structure/models.py b/rna_2d_structure/models.py index 137941f..e69de29 100644 --- a/rna_2d_structure/models.py +++ b/rna_2d_structure/models.py @@ -1 +0,0 @@ -from django.db import models diff --git a/rna_2d_structure/tests.py b/rna_2d_structure/tests.py index 7ce503c..4929020 100644 --- a/rna_2d_structure/tests.py +++ b/rna_2d_structure/tests.py @@ -1,3 +1,2 @@ -from django.test import TestCase # Create your tests here. diff --git a/stats/admin.py b/stats/admin.py index 8c38f3f..b97a94f 100644 --- a/stats/admin.py +++ b/stats/admin.py @@ -1,3 +1,2 @@ -from django.contrib import admin # Register your models here. diff --git a/stats/models.py b/stats/models.py index 71a8362..35e0d64 100644 --- a/stats/models.py +++ b/stats/models.py @@ -1,3 +1,2 @@ -from django.db import models # Create your models here. diff --git a/stats/tests.py b/stats/tests.py index 7ce503c..4929020 100644 --- a/stats/tests.py +++ b/stats/tests.py @@ -1,3 +1,2 @@ -from django.test import TestCase # Create your tests here. diff --git a/stats/views.py b/stats/views.py index aa48c18..d6b5e31 100644 --- a/stats/views.py +++ b/stats/views.py @@ -2,7 +2,6 @@ import os import json -import re import io @@ -108,7 +107,7 @@ def make_plot(raw_stat_type, column_name=None): response = HttpResponse(imgdata.getvalue(), content_type="image/svg+xml") plt.cla() - fig.clf(); + fig.clf() plt.close('all') return response @@ -143,7 +142,7 @@ def make_year_range_plot(raw_stat_type): response = HttpResponse(imgdata.getvalue(), content_type="image/svg+xml") plt.cla() - fig.clf(); + fig.clf() plt.close('all') return response @@ -215,7 +214,7 @@ def community_response_rates(_): response = HttpResponse(imgdata.getvalue(), content_type="image/svg+xml") plt.cla() - fig.clf(); + fig.clf() plt.close('all') return response