Commit 45c841f0 authored by Kenzo-Hugo Hillion's avatar Kenzo-Hugo Hillion
Browse files

fix flake8

parent f00c7a44
Pipeline #13219 passed with stage
in 1 minute and 16 seconds
......@@ -3,4 +3,4 @@ from .gene import GeneSerializer
from .taxonomy import TaxonomySerializer
__all__ = ['FunctionSerializer', 'GeneSerializer', 'TaxonomySerializer']
\ No newline at end of file
__all__ = ['FunctionSerializer', 'GeneSerializer', 'TaxonomySerializer']
......@@ -5,4 +5,4 @@ from metagenedb.apps.catalog.models import Function
class FunctionSerializer(serializers.ModelSerializer):
class Meta:
model = Function
fields = ('function_id', 'source', 'name')
\ No newline at end of file
fields = ('function_id', 'source', 'name')
......@@ -8,4 +8,4 @@ class GeneSerializer(serializers.ModelSerializer):
class Meta:
model = Gene
fields = ('gene_id', 'gene_length', 'functions')
\ No newline at end of file
fields = ('gene_id', 'gene_length', 'functions')
......@@ -9,7 +9,7 @@ class TaxonomySerializer(serializers.ModelSerializer):
source='parent',
required=False
)
class Meta:
model = Taxonomy
fields = ('tax_id', 'name', 'rank', 'parent_tax_id')
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