Skip to content

Commit

Permalink
Expose dataset JSON field
Browse files Browse the repository at this point in the history
  • Loading branch information
k1o0 committed Mar 12, 2024
1 parent e7667ed commit 2c5477f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion alyx/data/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down
1 change: 0 additions & 1 deletion alyx/data/transfers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2c5477f

Please sign in to comment.