Forgot to Reply to List earlier. Might be generally useful. -ds

If you have Morpheus, you could manually or write a batch file to...

1. Import .tps file
2. Save as Morpheus file
3. Repeat as needed
4. Open first new Morpheus file
5. Append next
6. Repeat as needed
7. Export to .tps file

The steps/script would look something like...

Import tps ./dir/data1.tps
Saveas ./dir/data1.mdt
Import ./dir/data2.tps
Saveas ./dir/data2.mdt
...
Open ./dir/data1.mdt
Append ./dir/data2.mdt
...
Export tps ./dir/data.mdt

You could save a bit of typing and reduce the chance of typographical errors by using user-defines and a nested batch processing...

1. Create a batch file called, say, io.btc containing
Import tps $fn$.tps
Saveas $fn$.mdt

2. Call it from another, say, convert.btc...
Define $fn$ ./dir/data1
Batch io.btc
Define $fn$ ./dir/data2
Batch io.btc
...
Open ./dir/data1.mdt
Append ./dir/data2.mdt
...
Saveas ./dir/data.mdt

Really, there are several ways to do it. Actual syntax details and example batch files can be found in the user's guide.

And as with most operations involving large numbers of structured data, a column - capable editor like jEdit can be most helpful.

-ds



On 10/20/15 2:02 AM, Daniel Svozil wrote:
Hi All,

So I am facing a dilemma, where I have digitized landmarks on 90 individuals, for each of 11 populations. The images and the associated TPS file for each population is located in a separate folder (i.e. one folder per population).

Now, I want to combine the TPS files from each population, into one single TPS file. Is this possible? If so, how do I do it?

I have tried clicking append, (File>Save data>Append) in TPS Dig2, as well as the Append files option in the drop down menu of TPS Util. In both cases, I get the dialog box, where it asks for an input directory and an output directory, however, no option to select multiple TPS files is available.

It occurred to me that perhaps the separate TPS files had to be located in the same folder, (I did not check the "include path" option when I created each individual TPS file), but even so, when I repeat the Append files steps listed above, I am still presented with the input/output directory options and only the one TPS that was originally associated with that folder (i.e. pop1 TPS file is the only one available in the pop1 directory, even though I have copied the pop2 TPS file and images over, as well).

Any suggestions? Or will I have to start over with a TPS file containing all images from all the populations as one?

Kind regards,


Daniel.




--
MORPHMET may be accessed via its webpage at http://www.morphometrics.org

--
If a response is important to you, keep trying -> I receive 50-100 msgs/day

--
MORPHMET may be accessed via its webpage at http://www.morphometrics.org

To unsubscribe from this group and stop receiving emails from it, send an email 
to morphmet+unsubscr...@morphometrics.org.

Reply via email to