-
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.
fix: ComputedSet method now 50 characters (and better ComputedMolecul…
…e identifier)
- Loading branch information
Alan Christie
committed
Dec 19, 2023
1 parent
108398c
commit a8d359f
Showing
3 changed files
with
43 additions
and
5 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
36 changes: 36 additions & 0 deletions
36
viewer/migrations/0025_increase_length_of_computedset_method.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,36 @@ | ||
# Generated by Django 3.2.23 on 2023-12-19 14:31 | ||
|
||
import shortuuid.django_fields | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
('viewer', '0024_modified_computedset'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='computedset', | ||
name='method', | ||
field=models.CharField( | ||
blank=True, | ||
help_text='The name of the algorithmic method used to generate the compounds (e.g. Fragmenstein)', | ||
max_length=50, | ||
null=True, | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name='computedmolecule', | ||
name='identifier', | ||
field=shortuuid.django_fields.ShortUUIDField( | ||
alphabet='ACDEFGHJKLMNPRSTUVWXYZ345679', | ||
blank=True, | ||
help_text="A four character string of non-confusing uppercase letters and digits for easy reference. This is combined with the Target to form the ComputedMolecule's name", | ||
length=4, | ||
max_length=4, | ||
null=True, | ||
prefix='', | ||
), | ||
), | ||
] |
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