Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
168 commits
Select commit Hold shift + click to select a range
ba288a8
Working on adding ls4cam
rknop Nov 20, 2025
7835a2a
Merge branch 'main' into import_ls4
rknop Dec 3, 2025
b4cee74
I have successfully loaded a LS4Cam_dualamp exposure into the database
rknop Dec 3, 2025
9e056ae
Working on importing actual LS4 data
rknop Jan 7, 2026
15abf60
Merge branch 'main' into import_ls4
rknop Apr 13, 2026
e73a7ab
Updating ls4cam.py for more recent test files. These are not packed,…
rknop Apr 14, 2026
3dd03f5
Working on ls4 overscan
rknop Apr 14, 2026
bdd2298
bump kafka in test environment to version 4 ; retry_download can now …
rknop Apr 15, 2026
2dd793a
arcseconds and degrees are not the same thing
rknop Apr 15, 2026
7204012
small
rknop Apr 15, 2026
4a4175e
More work on ls4cam overscan. Its readout mode is complicated....
rknop Apr 15, 2026
7c94755
Fix some errors in ls4cam, make manual exposure loading able to custo…
rknop Apr 17, 2026
1b99454
spin files for file archvie server ls4-production
rknop Apr 20, 2026
581bfd3
Issue #465 ; refactor Instrument's getting of subclasses so we don't …
rknop Apr 20, 2026
ec30040
Adjust manually_load_exposure so you can say it's OK if it's already …
rknop Apr 20, 2026
326628a
Merge branch 'import_ls4' of github.com:rknop/SeeChange into import_ls4
rknop Apr 20, 2026
2251002
Have passed a test trying loading a single packed exposure
rknop Apr 20, 2026
c66474a
ls4 production spin files (webap)
rknop Apr 21, 2026
5ae7bbd
Working on ls4cam. Write basic flatbuilder. Put in flatfieling of l…
rknop Apr 22, 2026
29f9917
bump preprocessing minor version
rknop Apr 22, 2026
91714a3
Add astrometry.net as an alternative for WCS to scamp
rknop Apr 23, 2026
ff924ee
astrometry.net in dockerfile
rknop Apr 29, 2026
54dce07
Fix error in preprocessing, didn't recognize pre-existing weight and …
rknop May 4, 2026
4481d75
Merge branches 'import_ls4' and 'import_ls4' of github.com:rknop/SeeC…
rknop May 4, 2026
79cb88c
in progress, broken
rknop May 8, 2026
b1aac4b
In astrocal, just use astropy to write a fits file, not our own util.…
rknop May 8, 2026
ad5d0c2
Ugh. All the design assumptions that have gone various places are st…
rknop May 8, 2026
18e4703
ConfigChooser is a disaster. Fix preprocessing so it can skip flatfi…
rknop May 11, 2026
911b22f
d'oh; forgot to remove a pdb.set_trace(), and all my jobs failed
rknop May 12, 2026
7d7a49d
Add hacks/make_superbias.py: per-chip superbias, NMAD, and bad-pixel …
nugent68 May 13, 2026
b79d01b
Merge pull request #1 from nugent68/add-make-superbias-hack
rknop May 13, 2026
86be7c3
Utility to populate known exposures from a directory of files for LS4…
rknop May 13, 2026
f782387
Add types to knownexposures
rknop May 14, 2026
6e6af00
database migration left out from previous commit
rknop May 14, 2026
d1ac8e5
I'm editing on the wrong machine
rknop May 14, 2026
0351b18
Add a check in the conftest session start fixture to make sure the co…
rknop May 14, 2026
d405ab3
grinding along
rknop May 14, 2026
6a28278
webap fixes
rknop May 15, 2026
c764a47
Merge branch 'import_ls4' of github.com:rknop/SeeChange into import_ls4
rknop May 15, 2026
24436b5
Lots of logistics work on flat and bias builder
rknop May 15, 2026
f84842d
in progress
rknop May 18, 2026
1b4e5b9
Fix overscan polynomial, add arguments to overscan to use them
rknop May 18, 2026
206bcea
Masks in flags and biases, use masks of flags and biases in preproces…
rknop May 18, 2026
57c5f51
typo in default_config.yaml ; add max idle time to pipeline exposure …
rknop May 19, 2026
7c58b3e
In ls4cam masks download, add a check that the file came through. (G…
rknop May 19, 2026
37237cd
Allow specifying flat and bias provenance tag in preprocessing.py
rknop May 20, 2026
5fb6d3b
logging in archive
rknop May 20, 2026
eb7ddbc
in progress. Adding locking to the archive. I can't do anything bec…
rknop May 20, 2026
a2525ae
bump file-archive-server to go with last commit
rknop May 20, 2026
7f1c56a
I *think* all tests are passing. Verifying now.
rknop May 21, 2026
b498daf
Merge branch 'import_ls4' of github.com:rknop/SeeChange into import_ls4
rknop May 21, 2026
31767c8
Had to move a class around in base.py so its superclasses came first.
rknop May 21, 2026
5eb8b86
Merge branch 'import_ls4' of github.com:rknop/SeeChange into import_ls4
rknop May 21, 2026
ec7a21d
Oops, forgot to add a database migration file
rknop May 21, 2026
87193ed
I was editing on the wrong machine.
rknop May 21, 2026
60a8fff
test astrometry.net. Turns out that astropy.wcs.WCS.to_header() does…
rknop May 21, 2026
ea66782
Add server default for uuidmixin. Temp. disable cert checking for cu…
rknop May 26, 2026
fe3ea73
I have become confused.
rknop May 26, 2026
1220862
...I don't know what we were thinking with the psfnorm parameters to …
rknop May 26, 2026
0a5b846
Two steps forward, forteen steps back. Put in the abililty to force …
rknop May 27, 2026
7d2dfb2
LBNL certs are working again, remove the verify=false from the reques…
rknop May 27, 2026
2c07b1e
Merge branch 'import_ls4' of github.com:rknop/SeeChange into import_ls4
rknop May 27, 2026
c8a860e
Oops, forgot to add a database migraiton a while back
rknop May 27, 2026
ee7f4fc
Merge branch 'import_ls4' of github.com:rknop/SeeChange into import_ls4
rknop May 27, 2026
d459487
erge branch 'import_ls4' of github.com:rknop/SeeChange into import_ls4
rknop May 27, 2026
7c3906e
More bits defined for bad pixels. Pipeline currently broken
rknop May 28, 2026
e12f1db
Making image flags a bit more robust.
rknop May 28, 2026
72100d0
Gotta put fringe in preprocessing steps ok to skip in default config
rknop May 28, 2026
a9661d1
Move ls4 production archive directory. Tuneups to ls4 import known e…
rknop May 29, 2026
e55f5f3
Merge branch 'import_ls4' of github.com:rknop/SeeChange into import_ls4
rknop May 29, 2026
95b469e
Implement do_not_load in everything top_level calls. Skip fake injec…
rknop May 29, 2026
f2d7fa5
Make a PGDB class that is like the one from FASTDB so we can skip mak…
rknop May 29, 2026
622f611
Make echoqueries, alwaysexplain, alwaysanalyze defaults configurable
rknop May 29, 2026
55ec313
Make psf fit size configurable
rknop May 29, 2026
acdccc0
Merge branch 'import_ls4' of github.com:rknop/SeeChange into import_ls4
rknop May 29, 2026
bcda772
Remove steps_ok_to_skip from preprocessing : we already had that func…
rknop May 29, 2026
d8ceab4
Sextractor thresholds. Causes some test values to change. Clean up …
rknop May 31, 2026
0d53d83
Updating test numbers, and fixing some stuff in the code that didn't …
rknop Jun 1, 2026
c4ae3e0
no, really
rknop Jun 1, 2026
84ec167
...no, really
rknop Jun 1, 2026
ef75782
Hacked a test because of Issue #537
rknop Jun 1, 2026
aed6bc6
Add a "make a dict of tablename to class" function to base. It has t…
rknop Jun 1, 2026
b02161b
Merge branch 'import_ls4' of github.com:rknop/SeeChange into import_ls4
rknop Jun 1, 2026
ebfbe61
Reconile because I was editing in two different places
rknop Jun 1, 2026
a19cba5
Futz a bit more with how psfex runs. Crucially, allow the psfex time…
rknop Jun 1, 2026
e350a06
Lots of little test number changes becasue of changes to psf details
rknop Jun 1, 2026
295ecad
Change which sextractor flags we consider "bad". Crucially, limit th…
rknop Jun 2, 2026
9359f2f
Futz a bit with the simulated lightcurve fixture and tests. With all
rknop Jun 2, 2026
68889b9
Peter's gaia / ls4cam photometric transformations
rknop Jun 2, 2026
07a7625
Add peter's ls4cam calibration
rknop Jun 2, 2026
c7d94cc
Fix error in ls4 archive spin file
rknop Jun 2, 2026
b5e0290
Make the archive lock timeout longer, because it can take a while to …
rknop Jun 2, 2026
1a88cc6
Merge branch 'import_ls4' of github.com:rknop/SeeChange into import_ls4
rknop Jun 2, 2026
0eb659c
Adjusting test results for recent changes to extraction, psf, wcs
rknop Jun 2, 2026
348ba5a
typo in docker-compsoe
rknop Jun 2, 2026
7a01d95
Add a test for archive server download lock
rknop Jun 2, 2026
6dda2fb
Fix a problem in archive locking -- which was actually in archive its…
rknop Jun 2, 2026
85c10bd
Add the submodule update I should have added last commit
rknop Jun 2, 2026
f50b79c
catalog exceprt wasn't syncing files down from archive when needed
rknop Jun 2, 2026
d5be8d6
TIL that a-b is not the same as a-a
rknop Jun 2, 2026
2236b0a
We had a unique constraint on world_coordinages.sources_id, which was…
rknop Jun 2, 2026
d213c4e
More test updating as things change. (This time it may have been the…
rknop Jun 2, 2026
8a944b0
bump image version in docker-compose.yaml ; images have been pushed t…
rknop Jun 2, 2026
6c1354e
Fix cache provenances in test fixtures
rknop Jun 3, 2026
1bbfccc
Add sleeps, and eventual timeout, in catalog_excerpt waiting for gaia…
rknop Jun 3, 2026
7bb9254
Merge branch 'import_ls4' of github.com:rknop/SeeChange into import_ls4
rknop Jun 3, 2026
2e1b2ab
Merge branch 'import_ls4' of github.com:rknop/SeeChange into import_ls4
rknop Jun 3, 2026
0c8d33d
update gaia dr3 server extern
rknop Jun 3, 2026
f7cb5d1
I will never learn to edit on the machine I want to edit on
rknop Jun 3, 2026
0aef92b
Add a generic exponential backoff retry function util.util.retry_with…
rknop Jun 3, 2026
46044f2
Put in retry_with_sleep in pipeline/catalogs_tools.py for contacting …
rknop Jun 3, 2026
4807112
bump nersc-desi-gaia-dr3-server extern version
rknop Jun 3, 2026
06cc284
Add a configurable connect timeout for sqlalchemy to connect to the d…
rknop Jun 3, 2026
f1c4279
Move floats to ints in gaia dr3 catalog lock, in hopes of making thin…
rknop Jun 3, 2026
4be065f
reenable configchooser
rknop Jun 3, 2026
4cdbd0e
Adding stuff that was supposed to be added in previous commits. Rear…
rknop Jun 3, 2026
59ca012
yaml is very fussy about what it will interpret as a float vs. a string
rknop Jun 3, 2026
95d8d07
Have to get the test config yaml files rewormed properly too
rknop Jun 3, 2026
2289ecf
Merge branch 'import_ls4' of github.com:rknop/SeeChange into import_ls4
rknop Jun 3, 2026
d78baab
dr3 gaia server in progres
rknop Jun 3, 2026
2861f0a
spelling in dockerfile. Bump version in tests/docker-compose.yaml. …
rknop Jun 3, 2026
3112fd0
Merge branch 'import_ls4' of github.com:rknop/SeeChange into import_ls4
rknop Jun 3, 2026
4d1310e
Had to add a value to default config after a merge
rknop Jun 3, 2026
cdcc919
bump nersc-desi-gaia-dr3-server
rknop Jun 4, 2026
47c1545
...another bump of extern/nersc-desi-gaia-dr3-server
rknop Jun 4, 2026
a7c2bea
short database backup .sh for ls4_production
rknop Jun 8, 2026
53fd333
Adding coordinates to WCS, since that's probably really what we often…
rknop Jun 8, 2026
2f1054f
Working down through find_images test, still hung up on a wcs find, s…
rknop Jun 8, 2026
c00bade
OK, finally all the find_images tests are passing. Did find an issue…
rknop Jun 9, 2026
6822656
Start pushing the "WCS has corners" changes into ref maker. Requried…
rknop Jun 9, 2026
ed84b38
In the middle of updating ref_maker and trying to run it, realized I …
rknop Jun 10, 2026
bc7640b
migration nightmare
rknop Jun 10, 2026
8bca198
OK, I'm not going to do the migration right, I'm going to put in plac…
rknop Jun 10, 2026
ae0e5ed
I have no idea what's going on around me
rknop Jun 12, 2026
819f7bb
So many things. Add validity dates to references. Find a weird prob…
rknop Jun 13, 2026
8ef7338
Add WCSes in the headers in the LDAC files passed to swarp for image …
rknop Jun 13, 2026
d02c150
Fix bad calls to pgdb.execute in the get_downstream_ids I just added
rknop Jun 13, 2026
8956a78
working on webap
rknop Jun 14, 2026
666640a
Working on webap
rknop Jun 15, 2026
7c1859e
Hack to export new/ref/sub with attached WCS. Update webap productio…
rknop Jun 15, 2026
397863d
Add the ability for the exposure processor to start partway through w…
rknop Jun 16, 2026
4d6b40f
All process has fallen by the wayside as I franctically try to get st…
rknop Jun 16, 2026
57c85b2
Add pipeline/identify_refs_to_build.p
rknop Jun 17, 2026
f447541
fix couple of webap errors
rknop Jun 17, 2026
ee6b5f5
Merge branches 'import_ls4' and 'import_ls4' of github.com:rknop/SeeC…
rknop Jun 17, 2026
c857620
Refactor : get rid of ConfigChooser, in favor of all the various proc…
rknop Jun 17, 2026
3b76bac
Running tests that should have been run wit the last <many> commits, …
rknop Jun 17, 2026
89514f7
ARGH test_parameter
rknop Jun 17, 2026
642f882
Rip out all the test_parameter from the Parameters in the tests. We'…
rknop Jun 17, 2026
36f4719
Couple of fixes, mostly text cleanup resulting from recent commit cha…
rknop Jun 18, 2026
abd2c80
...I guess I was editing on the wrong machine.
rknop Jun 18, 2026
cf08731
Fix stupid stuff I did with models/base.py::_Session; tests for retry…
rknop Jun 18, 2026
251a3b7
Update a Makefile.am for something added some commits back, update Do…
rknop Jun 18, 2026
ffa2303
fixing small issues with the webap
rknop Jun 18, 2026
b528c9d
webap fix where it tried to find cutouts when there weren't any subtr…
rknop Jun 18, 2026
635ad17
Some logging ; iterating on the image version in spin/production/weba…
rknop Jun 18, 2026
72bc795
Merge branch 'import_ls4' of github.com:rknop/SeeChange into import_ls4
rknop Jun 18, 2026
dd02eed
Bump test image version. Fix some stupid errors in conductor
rknop Jun 18, 2026
d81d325
identifying refs to build
rknop Jun 23, 2026
fcc6422
Merge branch 'import_ls4' of github.com:rknop/SeeChange into import_ls4
rknop Jun 23, 2026
c8d3c58
small error in conductor.py
rknop Jun 29, 2026
dc8c8e5
fix a bunch of small things ; add tools/parallel_runner.py
rknop Jun 30, 2026
9d61db9
The hacks you do when developing in production and adapting quickly t…
rknop Jun 30, 2026
6be2bc3
Try to reduce database gridlocks
rknop Jun 30, 2026
aa83ca4
Small fixes, more attempts to make database deadlocks less likely
rknop Jun 30, 2026
3eca3b3
Fixed a self.logger to SCLogger in subtraction.py
rknop Jul 7, 2026
1a4b6ab
Oops... committed a non-empty webap_local_overrides.yaml, which also …
rknop Jul 7, 2026
c4928e5
Working on making pulling down reports for the webap faster. Also, s…
rknop Jul 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 2 additions & 17 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,16 @@

### Misc
temp/*
local_config.yaml
./local_overrides.yaml
./local_augments.yaml
tests/local_config.yaml
tests/local_overrides.yaml
tests/local_augments.yaml
tests/improc/cache/*
data/cache*
data/DECam_default_calibrators
.pytest.ini
tests/plots
tests/temp_data
tests/test_filestore
tests/test_tempdata
# These next webap thingies are created
# during webap install as symbolic
# links into extern/rkwebutil, so
Expand All @@ -23,22 +21,9 @@ webap/static/resetpasswd_start.js
webap/static/rkauth.js
webap/static/rkwebutil.js
webap/static/svgplot.js
# util/githash.py is automatically generated
# by util/Makefile.am, and is needed by
# installed code that isn't a git checkout.
# Because it's automatically generated, it
# should *not* be in the archive.
util/githash.py


### Stuff created by autoconf and ./configure
# THOUGHT REQUIRED : do we want to add the various
# Makefile.in files from autoconf to the archive?
# That's often what people do. Right now,
# installation requires rerunning autoconf,
# which can be inconvenient. If we ever
# want to drop that requirement, then we
# need to remove some of these following lines
Makefile
aclocal.m4
autom4te.cache/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
"""type_in_knownexposures

Revision ID: e6cae41b2dec
Revises: 968beeeda621
Create Date: 2026-05-14 15:56:04.097647

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'e6cae41b2dec'
down_revision = '968beeeda621'
branch_labels = None
depends_on = None


def upgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('knownexposures', sa.Column('_type', sa.SMALLINT(), server_default=sa.text('0'), nullable=False))
op.create_index(op.f('ix_knownexposures__type'), 'knownexposures', ['_type'], unique=False)
# ### end Alembic commands ###


def downgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.drop_index(op.f('ix_knownexposures__type'), table_name='knownexposures')
op.drop_column('knownexposures', '_type')
# ### end Alembic commands ###
43 changes: 43 additions & 0 deletions alembic/versions/2026_05_21_1323-a5d1ea8761c0_archive_lock.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
"""archive_lock

Revision ID: a5d1ea8761c0
Revises: e6cae41b2dec
Create Date: 2026-05-21 13:23:08.381056

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'a5d1ea8761c0'
down_revision = 'e6cae41b2dec'
branch_labels = None
depends_on = None


def upgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.create_table('archive_locks',
sa.Column('serverpath', sa.Text(), nullable=False),
sa.Column('hostname', sa.Text(), nullable=True),
sa.Column('pid', sa.Integer(), nullable=True),
sa.Column('identifier', sa.Text(), nullable=True),
sa.Column('created_at', sa.DateTime(timezone=True), server_default=sa.text('now()'), nullable=False),
sa.Column('modified', sa.DateTime(timezone=True), server_default=sa.text('now()'), nullable=False),
sa.Column('_id', sa.UUID(), nullable=False),
sa.PrimaryKeyConstraint('_id')
)
op.create_index(op.f('ix_archive_locks__id'), 'archive_locks', ['_id'], unique=False)
op.create_index(op.f('ix_archive_locks_created_at'), 'archive_locks', ['created_at'], unique=False)
op.create_index(op.f('ix_archive_locks_serverpath'), 'archive_locks', ['serverpath'], unique=True)
# ### end Alembic commands ###


def downgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.drop_index(op.f('ix_archive_locks_serverpath'), table_name='archive_locks')
op.drop_index(op.f('ix_archive_locks_created_at'), table_name='archive_locks')
op.drop_index(op.f('ix_archive_locks__id'), table_name='archive_locks')
op.drop_table('archive_locks')
# ### end Alembic commands ###
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
"""server_default_uuid

Revision ID: 53c8dfd09cca
Revises: a5d1ea8761c0
Create Date: 2026-05-26 17:37:36.602065

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '53c8dfd09cca'
down_revision = 'a5d1ea8761c0'
branch_labels = None
depends_on = None


tabs = [ 'backgrounds', 'archive_locks', 'calibrator_files', 'calibfile_downloadlock',
'catalog_excerpts', 'gaiadr3_downloadlock', 'cutouts', 'data_files',
'deepscore_sets', 'deepscores', 'exposures', 'fake_sets', 'fake_analysis',
'images', 'sensor_sections', 'knownexposures', 'pipelineworkers',
'measurement_sets', 'measurements', 'objects', 'object_positions',
'code_versions', 'provenance_tags', 'psfs', 'refs', 'refsets', 'reports',
'source_lists', 'world_coordinates', 'zero_points' ]

def upgrade() -> None:
conn = op.get_bind()
for tab in tabs:
conn.execute(
sa.sql.text( f"ALTER TABLE {tab} ALTER COLUMN _id SET DEFAULT gen_random_uuid()" )
)


def downgrade() -> None:
conn = op.get_bind()
for tab in tabs:
conn.execute(
sa.sql.text( f"ALTER TABLE {tab} ALTER COLUMN _id DROP DEFAULT" )
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
"""wcs_sources_id_notunique

Revision ID: 43c53217262d
Revises: 53c8dfd09cca
Create Date: 2026-06-02 18:39:06.291967

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '43c53217262d'
down_revision = '53c8dfd09cca'
branch_labels = None
depends_on = None


def upgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.drop_index(op.f('ix_world_coordinates_sources_id'), table_name='world_coordinates')
op.create_index(op.f('ix_world_coordinates_sources_id'), 'world_coordinates', ['sources_id'], unique=False)
# ### end Alembic commands ###


def downgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.drop_index(op.f('ix_world_coordinates_sources_id'), table_name='world_coordinates')
op.create_index(op.f('ix_world_coordinates_sources_id'), 'world_coordinates', ['sources_id'], unique=True)
# ### end Alembic commands ###
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
"""gaia_downloadlock_intnotfloat

Revision ID: f83cba8ee519
Revises: 43c53217262d
Create Date: 2026-06-03 19:26:14.311617

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'f83cba8ee519'
down_revision = '43c53217262d'
branch_labels = None
depends_on = None


def upgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.alter_column('gaiadr3_downloadlock', 'minra',
existing_type=sa.REAL(),
type_=sa.Integer(),
existing_nullable=False)
op.alter_column('gaiadr3_downloadlock', 'maxra',
existing_type=sa.REAL(),
type_=sa.Integer(),
existing_nullable=False)
op.alter_column('gaiadr3_downloadlock', 'mindec',
existing_type=sa.REAL(),
type_=sa.Integer(),
existing_nullable=False)
op.alter_column('gaiadr3_downloadlock', 'maxdec',
existing_type=sa.REAL(),
type_=sa.Integer(),
existing_nullable=False)
op.alter_column('gaiadr3_downloadlock', 'minmag',
existing_type=sa.REAL(),
type_=sa.Integer(),
existing_nullable=True)
op.alter_column('gaiadr3_downloadlock', 'maxmag',
existing_type=sa.REAL(),
type_=sa.Integer(),
existing_nullable=True)
# ### end Alembic commands ###


def downgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.alter_column('gaiadr3_downloadlock', 'maxmag',
existing_type=sa.Integer(),
type_=sa.REAL(),
existing_nullable=True)
op.alter_column('gaiadr3_downloadlock', 'minmag',
existing_type=sa.Integer(),
type_=sa.REAL(),
existing_nullable=True)
op.alter_column('gaiadr3_downloadlock', 'maxdec',
existing_type=sa.Integer(),
type_=sa.REAL(),
existing_nullable=False)
op.alter_column('gaiadr3_downloadlock', 'mindec',
existing_type=sa.Integer(),
type_=sa.REAL(),
existing_nullable=False)
op.alter_column('gaiadr3_downloadlock', 'maxra',
existing_type=sa.Integer(),
type_=sa.REAL(),
existing_nullable=False)
op.alter_column('gaiadr3_downloadlock', 'minra',
existing_type=sa.Integer(),
type_=sa.REAL(),
existing_nullable=False)
# ### end Alembic commands ###
Loading
Loading