diff --git a/alyx/data/serializers.py b/alyx/data/serializers.py index a10f02f5..c455611f 100644 --- a/alyx/data/serializers.py +++ b/alyx/data/serializers.py @@ -220,7 +220,7 @@ class Meta: 'session', 'file_size', 'hash', 'version', 'experiment_number', 'file_records', 'subject', 'date', 'number', 'auto_datetime', 'revision', - 'default_dataset', 'protected', 'public', 'tags', 'qc') + 'default_dataset', 'protected', 'public', 'tags', 'qc', 'json') extra_kwargs = { 'subject': {'write_only': True}, 'date': {'write_only': True}, diff --git a/alyx/data/transfers.py b/alyx/data/transfers.py index 3cc730ab..bc6b744e 100644 --- a/alyx/data/transfers.py +++ b/alyx/data/transfers.py @@ -11,7 +11,6 @@ import numpy as np from one.alf.files import add_uuid_string, folder_parts from one.registration import get_dataset_type -from one.util import ensure_list from one.alf.spec import QC from alyx import settings diff --git a/setup.cfg b/setup.cfg index ca0902f7..d332421a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,7 +4,7 @@ universal = 1 [tool:pytest] [flake8] -ignore = E117,E265,E731,F403,E741,E722,W504 +ignore = E117,E265,E731,F403,E741,E722,W504,D max-line-length = 99 exclude = migrations