Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #816

Merged
merged 23 commits into from
Oct 26, 2023
Merged

Dev #816

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
3f3f50f
add habituation procedure to init fixtures
oliche Aug 17, 2023
fd3a420
GitHub Actions generated requirements_frozen.txt
invalid-email-address Aug 17, 2023
917988b
Merge branch 'master' into dev
k1o0 Aug 22, 2023
9f10d72
GitHub Actions generated requirements_frozen.txt
invalid-email-address Aug 22, 2023
b53817b
Tag filter in dataset admin page
k1o0 Sep 25, 2023
80771e4
GitHub Actions generated requirements_frozen.txt
invalid-email-address Sep 25, 2023
68d4598
Exclude non-personal, non-globus endpoints from local file record delete
k1o0 Oct 12, 2023
13d608a
Merge pull request #812 from cortex-lab/globus_delete_local_datasets_…
k1o0 Oct 13, 2023
50f89c5
GitHub Actions generated requirements_frozen.txt
invalid-email-address Oct 13, 2023
04393fc
mpciROIs.uuids dataset type fixture
k1o0 Oct 13, 2023
ec74166
Merge branch 'master' into dev
k1o0 Oct 16, 2023
b03537f
GitHub Actions generated requirements_frozen.txt
invalid-email-address Oct 16, 2023
ad6da09
sort session task inline by status
mayofaulkner Oct 16, 2023
1903851
Merge branch 'master' into dev
k1o0 Oct 16, 2023
a1b0bc2
add ask parent filter
mayofaulkner Oct 16, 2023
0a28308
Merge branch 'master' into dev
k1o0 Oct 18, 2023
731fc04
GitHub Actions generated requirements_frozen.txt
invalid-email-address Oct 18, 2023
eaf0945
cortexlab cull subjects admin modifications
mayofaulkner Oct 25, 2023
2815e8f
Merge branch 'dev' into improve_reports
mayofaulkner Oct 26, 2023
08f0fe7
bump version
mayofaulkner Oct 26, 2023
138e8e7
Merge pull request #815 from cortex-lab/improve_reports
mayofaulkner Oct 26, 2023
d123a14
GitHub Actions generated requirements_frozen.txt
invalid-email-address Oct 26, 2023
59d0512
Merge branch 'master' into dev
mayofaulkner Oct 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions alyx/actions/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,7 @@ class TasksAdminInline(BaseInlineAdmin):
extra = 0
fields = ('status', 'name', 'version', 'parents', 'datetime', 'arguments')
readonly_fields = ('name', 'version', 'parents', 'datetime', 'arguments')
ordering = ('status',)


def _pass_narrative_templates(context):
Expand Down
2 changes: 1 addition & 1 deletion alyx/alyx/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = __version__ = '1.16.1'
VERSION = __version__ = '1.16.2'
7 changes: 7 additions & 0 deletions alyx/jobs/templatetags/jobs_template_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,13 @@ def get_task_colour(status):
return "color:MediumSeaGreen"


@register.filter
def get_parents(obj):
parents = obj.parents.all()

return parents


@register.simple_tag(takes_context=True)
def param_replace(context, **kwargs):
"""
Expand Down
7 changes: 4 additions & 3 deletions alyx/subjects/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -1419,16 +1419,17 @@ def queryset(self, request, queryset):


class CullMiceAdmin(SubjectAdmin):
list_display = ['nickname', 'birth_date', 'death_date', 'sex_f', 'ear_mark',
'line', 'cage', 'responsible_user', 'to_be_culled', 'reduced', 'cull_l']
list_display = ['nickname', 'to_be_culled', 'birth_date', 'death_date', 'sex_f', 'ear_mark',
'line', 'zygosities', 'cage', 'responsible_user', 'reduced', 'cull_l']
ordering = ['-birth_date', '-nickname']
list_filter = [ResponsibleUserListFilter,
CullSubjectAliveListFilter,
ZygosityFilter,
('line', LineDropdownFilter),
]
list_editable = ['death_date', 'to_be_culled', 'reduced']

ordering = ('-birth_date',)
ordering = ['-birth_date', '-nickname']

def sex_f(self, obj):
return obj.sex[0] if obj.sex else ''
Expand Down
14 changes: 7 additions & 7 deletions requirements_frozen.txt
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
asgiref==3.7.2
backports.zoneinfo==0.2.1
boto3==1.28.65
botocore==1.31.65
boto3==1.28.71
botocore==1.31.71
certifi==2023.7.22
cffi==1.16.0
charset-normalizer==3.3.0
charset-normalizer==3.3.1
click==8.1.7
colorlog==6.7.0
contourpy==1.1.1
coreapi==2.3.3
coreschema==0.0.4
coverage==6.5.0
coveralls==3.3.1
cryptography==41.0.4
cryptography==41.0.5
cycler==0.12.1
Django==4.2.6
django-admin-list-filter-dropdown==1.0.3
django-admin-rangefilter==0.11.2
django-autocomplete-light==3.9.7
django-cleanup==8.0.0
django-filter==21.1
django-ipware==5.0.1
django-ipware==5.0.2
django-js-asset==2.1.0
django-mptt==0.14.0
django-polymorphic==3.1.0
Expand All @@ -44,13 +44,13 @@ itypes==1.2.0
Jinja2==3.1.2
jmespath==1.0.1
kiwisolver==1.4.5
llvmlite==0.41.0
llvmlite==0.41.1
lxml==4.9.3
Markdown==3.5
MarkupSafe==2.1.3
matplotlib==3.7.3
mccabe==0.7.0
numba==0.58.0
numba==0.58.1
numpy==1.24.4
ONE-api==2.4.0
packaging==23.2
Expand Down
Loading