-
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 pull request #508 from xchem/m2ms-1270-map-files
Target loader handling map files (issue 1270)
- Loading branch information
Showing
8 changed files
with
247 additions
and
67 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
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,19 @@ | ||
# Generated by Django 3.2.23 on 2024-01-26 11:16 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
('viewer', '0033_alter_siteobservation_cmpd'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='experiment', | ||
name='map_info', | ||
field=models.FileField( | ||
max_length=255, null=True, upload_to='target_loader_data/' | ||
), | ||
), | ||
] |
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,22 @@ | ||
# Generated by Django 3.2.23 on 2024-01-30 08:09 | ||
|
||
import django.contrib.postgres.fields | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
('viewer', '0034_experiment_map_info'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='experiment', | ||
name='event_map_info', | ||
field=django.contrib.postgres.fields.ArrayField( | ||
base_field=models.FileField(max_length=255, upload_to=''), | ||
null=True, | ||
size=None, | ||
), | ||
), | ||
] |
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,16 @@ | ||
# Generated by Django 3.2.23 on 2024-01-30 08:12 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
('viewer', '0035_alter_experiment_event_map_info'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='experiment', | ||
name='map_info', | ||
), | ||
] |
17 changes: 17 additions & 0 deletions
17
viewer/migrations/0037_rename_event_map_info_experiment_map_info.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,17 @@ | ||
# Generated by Django 3.2.23 on 2024-01-30 08:12 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
('viewer', '0036_remove_experiment_map_info'), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name='experiment', | ||
old_name='event_map_info', | ||
new_name='map_info', | ||
), | ||
] |
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
Oops, something went wrong.