Skip to content

Commit

Permalink
remove Step.reference_uri_to_cache_path
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Jun 11, 2024
1 parent 9dadd02 commit 3b0d431
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/stpipe/step.py
Original file line number Diff line number Diff line change
Expand Up @@ -890,20 +890,6 @@ def get_config_from_reference(cls, dataset, disable=None, crds_observatory=None)
logger.debug("No %s reference files found.", reftype.upper())
return config_parser.ConfigObj()

@classmethod
def reference_uri_to_cache_path(cls, reference_uri, observatory):
"""Convert an abstract CRDS reference URI to an absolute file path in the CRDS
cache. Reference URI's are typically output to dataset headers to record the
reference files used.
e.g. 'crds://jwst_miri_flat_0177.fits' -->
'/grp/crds/cache/references/jwst/jwst_miri_flat_0177.fits'
The CRDS cache is typically located relative to env var CRDS_PATH
with default value /grp/crds/cache. See also https://jwst-crds.stsci.edu
"""
return crds_client.reference_uri_to_cache_path(reference_uri, observatory)

def set_primary_input(self, obj, exclusive=True):
"""
Sets the name of the master input file and input directory.
Expand Down

0 comments on commit 3b0d431

Please sign in to comment.