code: def wrap_lnprob(x, prior):
      return prior.get_log_probability(x[0])
  
imports: from functools import partial
  import numpy
  import pytest
  import scipy.optimize
  from smac.constants import VERY_SMALL_NUMBER
  from smac.model.gaussian_process.priors import GammaPrior, HorseshoePrior, LogNormalPrior, SoftTopHatPrior, TophatPrior
label_desc: Use image node_id 2 for calling a global function with example usage: wrap_lnprob(x, prior) and returns: prior