Dear Nicola,
I tried and I get the following message:
File: TYLCV.xml seed: 1612943476299 threads: 1
Loading package CoupledMCMC v1.0.2
Loading package MultiTypeTree v7.0.2
Loading package BEAST v2.6.3
Loading package BEAST_CLASSIC v1.5.0
Loading package BASTA v3.0.1
Loading package phylodynamics v1.3.0
Loading package BDSKY v1.4.6
Loading package BEASTLabs v1.9.5
Loading package BEAST v2.6.3
Validation error when initializing object beast.evolution.tree.MigrationModelVolz (id null):
java.lang.IllegalArgumentException: Input 'nTypes' must be specified.
at beast.core.Input.validate(Unknown Source)
at beast.core.BEASTInterface.validateInputs(Unknown Source)
at beast.util.XMLParser.createObject(Unknown Source)
at beast.util.XMLParser.parseInputs(Unknown Source)
at beast.util.XMLParser.createObject(Unknown Source)
at beast.util.XMLParser.parseInputs(Unknown Source)
at beast.util.XMLParser.createObject(Unknown Source)
at beast.util.XMLParser.parseRunElement(Unknown Source)
at beast.util.XMLParser.parse(Unknown Source)
at beast.util.XMLParser.parseFile(Unknown Source)
at beast.app.BeastMCMC.parseArgs(Unknown Source)
at beast.app.beastapp.BeastMain.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at beast.app.beastapp.BeastLauncher.run(Unknown Source)
at beast.app.beastapp.BeastLauncher.main(Unknown Source)
Error 110 parsing the xml input file
validate and intialize error: Input 'nTypes' must be specified.
Error detected about here:
<beast>
<run id='mcmc' spec='MCMC'>
<init id='tree' spec='StructuredCoalescentMultiTypeTreeVolz'>
<migrationModelVolz spec='MigrationModelVolz'>
I get the message with both my edited template and with the original TYLCV.xml file
I don't know if something changed in the BEAST2 package. I'm using BEAST v2.6.3, 2002-2020