Skip to content

Commit

Permalink
Changes to attempt to satify ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
ggermain committed Apr 12, 2024
1 parent c1b275f commit b633eb5
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions acis_thermal_check/apps/dpamyt_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,9 @@ def __init__(self):
# Specify the temperature where only those temps greater
# than this temperature will be displayed on the histogram.
hist_limit = [20.0]

# Call the superclass' __init__ with the arguments
super().__init__(
"1dpamyt",
"dpamyt",
valid_limits,
hist_limit)
super().__init__("1dpamyt", "dpamyt", valid_limits, hist_limit)

def _calc_model_supp(self, model, state_times, states, ephem, state0):
"""
Expand All @@ -58,7 +54,6 @@ def _calc_model_supp(self, model, state_times, states, ephem, state0):
T_dpa0 = state0["1dpamyt"]
model.comp["dpa0"].set_data(T_dpa0, model.times)


def main():
args = get_options()
dpamyt_check = DPAMYTCheck()
Expand All @@ -71,6 +66,5 @@ def main():
print("ERROR:", msg)
sys.exit(1)


if __name__ == "__main__":
main()

0 comments on commit b633eb5

Please sign in to comment.