We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suppose the work whose tradition is collated in the TEI XML input has a known date specified with a date element with a when attribute, as follows:
date
when
<bibl> <title>Title of the work</title> <date when="50"/> </bibl>
Currently, this maps to a Uniform distribution whose lower and upper bounds match, which raises an exception in BEAST 2:
<distribution spec="Prior" id="originPrior" x="@origin"> <distr spec="beast.base.inference.distribution.Uniform" lower="1974" upper="1974"/> </distribution>
If the date is known, then this distribution element is unncessary in the BEAST XML output. We can simply add estimate="false" to the origin element:
distribution
estimate="false"
origin
<origin spec="parameter.RealParameter" id="origin" lower="1974" upper="1974" value="1974" estimate="false"/>
Likewise, the operator element with id="originScaler" and the log element with idref="origin" can be excluded in this case.
operator
id="originScaler"
log
idref="origin"
These changes should be made in beast_template.xml and the to_beast method in collation.py.
beast_template.xml
to_beast
collation.py
The text was updated successfully, but these errors were encountered:
jjmccollum
Successfully merging a pull request may close this issue.
Suppose the work whose tradition is collated in the TEI XML input has a known date specified with a
date
element with awhen
attribute, as follows:Currently, this maps to a Uniform distribution whose lower and upper bounds match, which raises an exception in BEAST 2:
If the date is known, then this
distribution
element is unncessary in the BEAST XML output. We can simply addestimate="false"
to theorigin
element:Likewise, the
operator
element withid="originScaler"
and thelog
element withidref="origin"
can be excluded in this case.These changes should be made in
beast_template.xml
and theto_beast
method incollation.py
.The text was updated successfully, but these errors were encountered: