From 2ffc6f8387b6f217c5c14907444d7d43505e4e7d Mon Sep 17 00:00:00 2001 From: Steph Merritt Date: Thu, 7 Mar 2024 14:49:21 +0000 Subject: [PATCH] Making sure AdlerData can initialise correctly. --- src/adler/dataclasses/AdlerPlanetoid.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/adler/dataclasses/AdlerPlanetoid.py b/src/adler/dataclasses/AdlerPlanetoid.py index 0d79da6..b2ea2c8 100644 --- a/src/adler/dataclasses/AdlerPlanetoid.py +++ b/src/adler/dataclasses/AdlerPlanetoid.py @@ -24,8 +24,8 @@ def __init__(self, ssObjectId, population_location="RSP", sql_filename=None): self.sql_filename = sql_filename # can also include date ranges at some point - # create empty AdlerData dataclass object - self.AdlerData = AdlerData() + # create empty AdlerData dataclass object. will replace dummy list as soon as filter functionality is included. + self.AdlerData = AdlerData(["dummy_filter"]) # this creates the AdlerPlanetoid.Observations, AdlerPlanetoid.MPCORB and # AdlerPlanetoid.SSObject objects.