Skip to content

Commit

Permalink
rename variables
Browse files Browse the repository at this point in the history
  • Loading branch information
segasai committed Jul 22, 2024
1 parent 3161d06 commit 389d2f1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions py/rvspecfit/spec_inter.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,12 +335,11 @@ def getInterpolator(HR, config, warmup_cache=False):
elif interp_type == 'generic':
mod_name = fd['module']
class_name = fd['class_name']
outside_class = fd['outside_class_name']
outside_class_name = fd['outside_class_name']
mod = importlib.import_module(mod_name)
fd['template_lib'] = config['template_lib']
interper = getattr(mod, class_name)(fd)
extraper = getattr(mod, outside_class)(fd)
# NOT FINISHED implementation of a generic interpolation function
extraper = getattr(mod, outside_class_name)(fd)
else:
raise RuntimeError('Unrecognized interpolation file')

Expand Down

0 comments on commit 389d2f1

Please sign in to comment.