Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-27 07:41:44

0001 # Generated by Django 4.2.23 on 2026-02-28 01:13
0002 
0003 from django.db import migrations, models
0004 
0005 
0006 class Migration(migrations.Migration):
0007 
0008     dependencies = [
0009         ('pcs', '0001_initial'),
0010     ]
0011 
0012     operations = [
0013         migrations.CreateModel(
0014             name='ProdConfig',
0015             fields=[
0016                 ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
0017                 ('name', models.CharField(help_text="Human-readable config name, e.g. 'DVCS 10x100 standard'", max_length=200, unique=True)),
0018                 ('description', models.TextField(blank=True, default='')),
0019                 ('bg_mixing', models.BooleanField(default=False)),
0020                 ('bg_cross_section', models.CharField(blank=True, default='', max_length=200)),
0021                 ('bg_evtgen_file', models.CharField(blank=True, default='', max_length=500)),
0022                 ('copy_reco', models.BooleanField(default=True)),
0023                 ('copy_full', models.BooleanField(default=False)),
0024                 ('copy_log', models.BooleanField(default=True)),
0025                 ('use_rucio', models.BooleanField(default=True)),
0026                 ('jug_xl_tag', models.CharField(blank=True, default='', help_text='e.g. 26.02.0-stable', max_length=100)),
0027                 ('container_image', models.CharField(blank=True, default='', help_text='Singularity/Apptainer image reference', max_length=500)),
0028                 ('target_hours_per_job', models.DecimalField(blank=True, decimal_places=2, help_text='Target walltime per job in hours', max_digits=6, null=True)),
0029                 ('events_per_task', models.PositiveIntegerField(blank=True, help_text='Total events for the task', null=True)),
0030                 ('condor_template', models.TextField(blank=True, default='', help_text='HTCondor submission template')),
0031                 ('panda_site', models.CharField(blank=True, default='', max_length=200)),
0032                 ('panda_queue', models.CharField(blank=True, default='', max_length=200)),
0033                 ('panda_working_group', models.CharField(blank=True, default='', max_length=100)),
0034                 ('panda_resource_type', models.CharField(blank=True, default='', max_length=100)),
0035                 ('rucio_rse', models.CharField(blank=True, default='', help_text='Rucio Storage Element for output', max_length=200)),
0036                 ('rucio_replication_rules', models.JSONField(blank=True, help_text='Rucio replication rule definitions', null=True)),
0037                 ('created_by', models.CharField(max_length=100)),
0038                 ('created_at', models.DateTimeField(auto_now_add=True)),
0039                 ('updated_at', models.DateTimeField(auto_now=True)),
0040             ],
0041             options={
0042                 'db_table': 'pcs_prod_config',
0043                 'ordering': ['-updated_at'],
0044             },
0045         ),
0046     ]