-
Notifications
You must be signed in to change notification settings - Fork 1
406 assign responsible scientist to project #411
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
Merged
aastabk
merged 11 commits into
summer25-week-31
from
406-assign-responsible-scientist-to-project
Jul 25, 2025
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
329f6de
Added results contact info for analysis
aastabk ef570ec
Added migrations
aastabk ba626d0
Added migrations
aastabk 24db6b4
Safe fields for name and email for analysis results
aastabk 896d32f
Mypy fix
aastabk 0524b02
Safer (?) fix
aastabk 1e5ebbc
Fixed comments
aastabk 1aa897b
Removed mark_safe()
aastabk 49ad97a
Removed duplicate import
aastabk 3620be8
Changed names of columns (analysis results contact person)
aastabk 4264a97
Make field mandatory
aastabk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
59 changes: 59 additions & 0 deletions
59
src/genlab_bestilling/migrations/0033_alter_order_contact_person_and_more.py
This file contains hidden or 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,59 @@ | ||
| # Generated by Django 5.2.3 on 2025-07-24 08:45 | ||
|
|
||
| import django.db.models.deletion | ||
| from django.db import migrations, models | ||
|
|
||
|
|
||
| class Migration(migrations.Migration): | ||
| dependencies = [ | ||
| ( | ||
| "genlab_bestilling", | ||
| "0032_alter_isolationmethod_remove_species_add_type_20250722_1226", | ||
| ), | ||
| ] | ||
|
|
||
| operations = [ | ||
| migrations.AlterField( | ||
| model_name="order", | ||
| name="contact_person", | ||
| field=models.CharField( | ||
| help_text="Responsible for genetic bioinformatics analysis", null=True | ||
| ), | ||
| ), | ||
| migrations.CreateModel( | ||
| name="AnalysisOrderResultsCommunication", | ||
| fields=[ | ||
| ( | ||
| "id", | ||
| models.BigAutoField( | ||
| auto_created=True, | ||
| primary_key=True, | ||
| serialize=False, | ||
| verbose_name="ID", | ||
| ), | ||
| ), | ||
| ( | ||
| "contact_person_results", | ||
| models.CharField( | ||
| help_text="Person to contact for analysis resuls", null=True | ||
| ), | ||
| ), | ||
| ( | ||
| "contact_email_results", | ||
| models.EmailField( | ||
| help_text="Email to send analysis results", | ||
| max_length=254, | ||
| null=True, | ||
| ), | ||
| ), | ||
| ( | ||
| "analysis_order", | ||
| models.ForeignKey( | ||
| on_delete=django.db.models.deletion.CASCADE, | ||
| related_name="results_contacts", | ||
| to="genlab_bestilling.analysisorder", | ||
| ), | ||
| ), | ||
| ], | ||
| ), | ||
| ] |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.