#!/usr/local/bin/perl -w
if
(!(-d
"t"
)) {
print
STDERR
"Error - program must be run from UMLS::Similarity\n"
;
print
STDERR
"directory as : perl t/findCuiDepth.t \n"
;
exit
;
}
my
%option_hash
= ();
$option_hash
{
"realtime"
} = 1;
$option_hash
{
"t"
} = 1;
my
$umls
= UMLS::Interface->new(\
%option_hash
);
ok(
$umls
);
my
$version
=
$umls
->version();
my
$keydir
= File::Spec->catfile(
't'
,
'key'
,
$version
);
if
(! (-e
$keydir
) ) {
File::Path->make_path(
$keydir
);
}
my
$perl
= $^X;
my
$util_prg
= File::Spec->catfile(
'utils'
,
'findCuiDepth.pl'
);
my
(
$keyfile
,
$config
,
$infile
,
$output
);