File: codcif2sdf_002.chk

package info (click to toggle)
cod-tools 3.11.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 159,136 kB
  • sloc: perl: 58,707; sh: 41,323; ansic: 7,268; xml: 1,982; yacc: 1,117; makefile: 731; python: 166
file content (10 lines) | stat: -rwxr-xr-x 270 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

BABEL_VERSION=$( obabel -V | perl -ne 'm/^Open Babel (\d+[.]\d+[.]\d+)/; print $1' )
TARGET_VERSION='2.3.2'

if ! [ "$BABEL_VERSION" = "$TARGET_VERSION" ]
then
    echo Test skipped - test only compatible with Open Babel version $TARGET_VERSION
    exit 1
fi