nicfel / CoupledMCMC

Adaptive parallel tempering for Beast2
GNU General Public License v3.0
7 stars 4 forks source link

Issue with priors no being recognized #1

Closed nicfel closed 5 years ago

nicfel commented 5 years ago

Get the following error:

This BEASTInterface (beast.core.Prior) has no input with name x. Choose one of these inputs: distribution,useThreads,threads,ignore

Error detected about here:
  <beast>
      <run spec='MCMC'>
          <distribution id='posterior' spec='CompoundDistribution'>
              <distribution id='prior' spec='CompoundDistribution'>
                  <distribution id='parametersPrior' spec='CompoundDistribution'>
                      <distribution spec='Prior'>

when defining the priors as:

                    <distribution spec="Prior" x="@clockRate">
                        <!--distr spec="beast.math.distributions.Uniform" lower="0.0" upper="1.0"/-->
                        <distr spec="beast.math.distributions.OneOnX"/>
                    </distribution>

Happens when project is connected in IDE to other package, even when coupledMCMC is not used

rbouckaert commented 5 years ago

Any more details?

nicfel commented 5 years ago

Also happens for compiled beast jar files

nicfel commented 5 years ago

Resolved once I disconnected Mascot from the coupled MCMC package, i.e. was never actually an issue

rbouckaert commented 5 years ago

"i.e. was never actually an issue" :-)