-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into surgeryImplantWeight
- Loading branch information
Showing
459 changed files
with
323 additions
and
125,002 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,6 +53,7 @@ jobs: | |
sudo touch /var/log/alyx_json.log; sudo chmod 666 /var/log/alyx_json.log | ||
cd alyx | ||
cp alyx/settings_ci.py alyx/settings.py | ||
python manage.py collectstatic --noinput --link | ||
coverage run manage.py test -n | ||
coveralls --service=github | ||
env: | ||
|
@@ -73,7 +74,7 @@ jobs: | |
echo "requirements_frozen.txt unchanged" | ||
rm requirements_frozen_temp.txt | ||
echo "GIT_PUSH_NEEDED=false" >> "$GITHUB_ENV" | ||
else | ||
else | ||
echo "requirements_frozen.txt is different, git push needed" | ||
mv requirements_frozen_temp.txt requirements_frozen.txt | ||
echo "GIT_PUSH_NEEDED=true" >> "$GITHUB_ENV" | ||
|
@@ -85,7 +86,8 @@ jobs: | |
run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git commit -m "GitHub Actions generated requirements_frozen.txt" -a | ||
git add requirements_frozen.txt | ||
git commit -m "GitHub Actions generated requirements_frozen.txt" | ||
git push | ||
# Docker steps only run when master branch pushed to directly OR when a PR is merged | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
VERSION = __version__ = '2.0.0' | ||
VERSION = __version__ = '2.1.1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,14 +3,14 @@ | |
# ALYX-SPECIFIC | ||
ALLOWED_HOSTS = ['localhost', '127.0.0.1'] | ||
LANGUAGE_CODE = 'en-us' | ||
TIME_ZONE = 'GB' | ||
TIME_ZONE = 'Europe/London' | ||
GLOBUS_CLIENT_ID = '525cc543-8ccb-4d11-8036-af332da5eafd' | ||
SUBJECT_REQUEST_EMAIL_FROM = '[email protected]' | ||
DEFAULT_SOURCE = 'IBL' | ||
DEFAULT_PROTOCOL = '1' | ||
SUPERUSERS = ('root',) | ||
STOCK_MANAGERS = ('root',) | ||
WEIGHT_THRESHOLD = 0.75 | ||
WEIGHT_THRESHOLD = 0.8 # Absolute minimum weight threshold (red line in plots) | ||
DEFAULT_LAB_NAME = 'defaultlab' | ||
WATER_RESTRICTIONS_EDITABLE = False # if set to True, all users can edit water restrictions | ||
DEFAULT_LAB_PK = '4027da48-7be3-43ec-a222-f75dffe36872' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
alyx/data/migrations/0020_alter_datarepository_timezone.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Generated by Django 5.0 on 2024-03-26 15:27 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("data", "0019_dataset_qc"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="datarepository", | ||
name="timezone", | ||
field=models.CharField( | ||
blank=True, | ||
default="Europe/London", | ||
help_text="Timezone of the server (see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)", | ||
max_length=64, | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
...ts/migrations/0013_remove_trajectoryestimate_unique_trajectory_per_provenance_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Generated by Django 4.2.11 on 2024-03-22 12:45 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('experiments', '0012_fov_imagingstack_imagingtype_alter_channel_lateral_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveConstraint( | ||
model_name='trajectoryestimate', | ||
name='unique_trajectory_per_provenance', | ||
), | ||
migrations.AddConstraint( | ||
model_name='trajectoryestimate', | ||
constraint=models.UniqueConstraint(condition=models.Q(('probe_insertion__isnull', True)), fields=('provenance', 'chronic_insertion'), name='unique_trajectory_per_chronic_provenance'), | ||
), | ||
migrations.AddConstraint( | ||
model_name='trajectoryestimate', | ||
constraint=models.UniqueConstraint(condition=models.Q(('probe_insertion__isnull', False)), fields=('provenance', 'probe_insertion'), name='unique_trajectory_per_provenance'), | ||
), | ||
] |
Oops, something went wrong.