Skip to content

Commit

Permalink
Fix apps.py location. Update example config
Browse files Browse the repository at this point in the history
  • Loading branch information
bhilbert4 committed Jan 21, 2025
1 parent bc0d505 commit d1126e3
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions jwql/example_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"setup_file" : "",
"test_data" : "",
"test_dir" : "",
"wisp_finder_ML_model" : "",
"thumbnail_filesystem" : "",
"cores" : "",
"redis_host": "",
Expand Down
1 change: 1 addition & 0 deletions jwql/website/apps/jwql/apps.py → jwql/website/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ def ready(self):
import jwql.website.apps.jwql.monitor_models.dark_current
import jwql.website.apps.jwql.monitor_models.readnoise
import jwql.website.apps.jwql.monitor_models.ta
import jwql.website.apps.jwql.monitor_models.wisp_finder
28 changes: 28 additions & 0 deletions jwql/website/apps/jwql/migrations/0029_wispfinderb4queryhistory.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Generated by Django 5.1.4 on 2025-01-21 20:12

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('jwql', '0028_alter_filesystemcharacteristics_filter_pupil_and_more'),
]

operations = [
migrations.CreateModel(
name='WispFinderB4QueryHistory',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('entry_date', models.DateTimeField(blank=True, null=True)),
('start_time_mjd', models.FloatField(blank=True, null=True)),
('end_time_mjd', models.FloatField(blank=True, null=True)),
('run_monitor', models.BooleanField(blank=True, null=True)),
],
options={
'db_table': 'wisp_finder_b4_query_history',
'managed': True,
'unique_together': {('id', 'entry_date')},
},
),
]
2 changes: 2 additions & 0 deletions jwql/website/apps/jwql/monitor_pages/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,5 @@
from jwql.website.apps.jwql.monitor_models.readnoise import NIRSpecReadnoiseQueryHistory, NIRSpecReadnoiseStats

from jwql.website.apps.jwql.monitor_models.ta import MIRITaQueryHistory

from jwql.website.apps.jwql.monitor_models.wisp_finder import WispFinderB4QueryHistory

0 comments on commit d1126e3

Please sign in to comment.