From 70d20949b93cf840e9e6785aa179a65f2b4a752f Mon Sep 17 00:00:00 2001 From: Steph Merritt Date: Thu, 7 Mar 2024 14:50:19 +0000 Subject: [PATCH] Fixing bug. --- src/adler/dataclasses/DataSchema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adler/dataclasses/DataSchema.py b/src/adler/dataclasses/DataSchema.py index 6187394..b83bace 100644 --- a/src/adler/dataclasses/DataSchema.py +++ b/src/adler/dataclasses/DataSchema.py @@ -157,7 +157,7 @@ def __init__(self, ssObjectId, population_location, sql_query, sql_filename=None self.ssObjectId = ssObjectId self.population_location = population_location self.populate(self.population_location, sql_query, sql_filename) - self.num_obs = len(midpointMjdTai) + self.num_obs = len(self.midpointMjdTai) self.calculate_reduced_mag() def populate_from_table(self, data_table):