Skip to content

Commit

Permalink
fix test failures and pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
mcara committed Dec 3, 2024
1 parent 7c090c3 commit 679aa51
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion jwst/outlier_detection/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def detect_outliers(
maskpt,
save_intermediate_results=save_intermediate_results,
make_output_path=make_output_path,
compute_err=True
return_error=True
)
else:
median_data, median_wcs, median_err = median_without_resampling(
Expand Down
2 changes: 1 addition & 1 deletion jwst/outlier_detection/tests/test_outlier_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,6 @@ def make_resamp(input_models):
asn_id="test",
enable_var=False,
enable_ctx=False,
enable_err="driz_err",
compute_err="driz_err",
)
return resamp
9 changes: 1 addition & 8 deletions jwst/resample/resample.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import logging
import json
import math
import os
import re
import warnings

import numpy as np

from drizzle.resample import Drizzle
from spherical_geometry.polygon import SphericalPolygon

from stdatamodels.jwst import datamodels
Expand All @@ -17,11 +14,7 @@
Resample,
OutputTooLargeError,
)
from stcal.resample.utils import (
compute_wcs_pixel_area,
is_imaging_wcs,
resample_range,
)
from stcal.resample.utils import is_imaging_wcs

from jwst.datamodels import ModelLibrary
from jwst.associations.asn_from_list import asn_from_list
Expand Down

0 comments on commit 679aa51

Please sign in to comment.