Skip to content

Commit

Permalink
Fixed isort errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachary Way committed Apr 23, 2024
1 parent 60f26da commit 2c4d087
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 10 deletions.
11 changes: 7 additions & 4 deletions docs/v1_documentation/catalog_to_catalog/append_to_sdss_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@
# @License: BSD 3-clause (http://www.opensource.org/licenses/BSD-3-Clause)

import os

import peewee
from peewee import fn, JOIN
from create_catalogidx_to_catalogidy import (MetaXMatch, TempMatch,
UniqueMatch,
create_unique_from_region)
from peewee import JOIN, fn

from sdssdb.peewee.sdss5db.catalogdb import Catalog, database

from sdssdb.peewee.sdss5db.catalogdb import database, Catalog
from create_catalogidx_to_catalogidy import MetaXMatch, create_unique_from_region
from create_catalogidx_to_catalogidy import TempMatch, UniqueMatch

database.connect(dbname="sdss5db", user="sdss_user")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@
from peewee import fn
from playhouse.postgres_ext import ArrayField

from sdssdb.peewee.sdss5db.catalogdb import database, Catalog
from sdssdb.peewee.sdss5db.catalogdb import Catalog, database
from sdssdb.peewee.sdss5db.targetdb import Target

import target_selection


database.connect(dbname='sdss5db', user="sdss_user") # Use 'sdss' to get read/write permissions


Expand Down
11 changes: 7 additions & 4 deletions python/target_selection/append_to_sdss_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@
# @License: BSD 3-clause (http://www.opensource.org/licenses/BSD-3-Clause)

import os

import peewee
from peewee import fn, JOIN
from create_catalogidx_to_catalogidy import (MetaXMatch, TempMatch,
UniqueMatch,
create_unique_from_region)
from peewee import JOIN, fn

from sdssdb.peewee.sdss5db.catalogdb import Catalog, database

from sdssdb.peewee.sdss5db.catalogdb import database, Catalog
from create_catalogidx_to_catalogidy import MetaXMatch, create_unique_from_region
from create_catalogidx_to_catalogidy import TempMatch, UniqueMatch

database.connect(dbname="sdss5db", user="sdss_user")

Expand Down
4 changes: 3 additions & 1 deletion python/target_selection/create_catalogidx_to_catalogidy.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@
from peewee import fn
from playhouse.postgres_ext import ArrayField

from sdssdb.peewee.sdss5db.catalogdb import database, Catalog
from sdssdb.peewee.sdss5db.catalogdb import Catalog, database
from sdssdb.peewee.sdss5db.targetdb import Target

import target_selection


database.connect(dbname='sdss5db', user="sdss_user") # Use 'sdss' to get read/write permissions


Expand Down

0 comments on commit 2c4d087

Please sign in to comment.