Skip to content

Commit

Permalink
[pre-commit.ci lite] apply automatic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci-lite[bot] authored Sep 17, 2024
1 parent 79bc1a8 commit 1cfa0ce
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/adler/dataclasses/AdlerPlanetoid.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ def construct_from_SQL(
def construct_from_cassandra(
cls, ssObjectId, filter_list=["u", "g", "r", "i", "z", "y"], date_range=[60000.0, 67300.0]
): # pragma: no cover

fetcher = CassandraFetcher(cassandra_hosts=["10.21.3.123"])

MPCORB_dict = fetcher.fetch_MPCORB(ssObjectId)
Expand Down
3 changes: 0 additions & 3 deletions src/adler/lasair/cassandra_fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ def __init__(self, cassandra_hosts):
self.session.set_keyspace("adler")

def fetch_SSObject(self, ssObjectId, filter_list):

filter_dependent_columns = ""
for filter_name in filter_list:
filter_string = "{}_H, {}_G12, {}_HErr, {}_G12Err, {}_Ndata, ".format(
Expand Down Expand Up @@ -44,7 +43,6 @@ def fetch_SSObject(self, ssObjectId, filter_list):
return obj

def fetch_MPCORB(self, ssObjectId):

obj = {}

MPCORB_sql_query = f"""
Expand All @@ -65,7 +63,6 @@ def fetch_MPCORB(self, ssObjectId):
return obj

def fetch_observations(self, ssObjectId):

sourceDict = {}

dia_query = f"""
Expand Down

0 comments on commit 1cfa0ce

Please sign in to comment.