Partial fix of #1502
This set velocity reading and writing on for tng file in trjconv.
However there still is a problem with the number of frames being
reduced at each conversion.
Change-Id: I91e7f5245ca75ebb9dd8e4450f94015b5c3f2bfa
{
/* check if velocities are possible in input and output files */
ftpin = fn2ftp(in_file);
- bVels = (ftp == efTRR || ftp == efTRJ || ftp == efGRO || ftp == efG96)
- && (ftpin == efTRR || ftpin == efTRJ || ftpin == efGRO || ftpin == efG96 ||
- ftpin == efCPT);
+ bVels = (ftp == efTRR || ftp == efTRJ || ftp == efGRO ||
+ ftp == efG96 || ftp == efTNG)
+ && (ftpin == efTRR || ftpin == efTRJ || ftpin == efGRO ||
+ ftpin == efG96 || ftpin == efTNG || ftpin == efCPT);
}
if (bSeparate || bSplit)
{