Convert-Pheno
view release on metacpan or search on metacpan
- Changed getpwuid to $ENV{'USERNAME'} to make 'MSWin32' compatible
0.11_2 2023-07-10T00:00:00Z (Manuel Rueda <mrueda@cpan.org>)
- Modified Python binding to work in Conda env
- Increased Perl version from 5.16 to 5.26
0.11_1 2023-07-09T00:00:00Z (Manuel Rueda <mrueda@cpan.org>)
- Reverted change in Makefile.PL for 'IO::Socket::SSL'
- IO::Socker::SSL only is used if installed
0.11 2023-07-09T00:00:00Z (Manuel Rueda <mrueda@cpan.org>)
- Uncommented 'IO::Socket::SSL' in Makefile.PL to pass self-validation of mapping schema in t/
- Changed cnag.crg.eu to cnag.eu
0.10 2023-07-03T00:00:00Z (Manuel Rueda <mrueda@cpan.org>)
- Added share/db/{omim,hpo}.db SQLite databases
- Modified source to accomodate such dbs
Note: Versions < 0.10 were primarily for testing deployment on CPAN
Makefile.PL view on Meta::CPAN
'Types::Standard' => '2.004000',
#'Test::Deep' => '1.204',
#'Test::Exception' => '0.43',
#'Test::Warn' => '0.37',
'Data::Leaf::Walker' => '0.21',
'Hash::Fold' => '1.0.0',
'JSONLD' => '0.006',
'Devel::Size' => '0.84',
'DateTime::Format::ISO8601' => '0.17'
#'IO::Socket::SSL' => '2.083'
#'Mojolicious::Plugin::OpenAPI' => '5.09'
},
EXE_FILES => ['bin/convert-pheno'],
TEST_REQUIRES => {
'Test::More' => '1.30',
'Test::Deep' => '1.204',
'Test::Exception' => '0.43',
'Test::Warn' => '0.37'
},
test => { TESTS => 't/*.t' },
requires 'Text::CSV_XS';
requires 'Text::Similarity';
requires 'Text::Levenshtein::XS';
requires 'Sort::Naturally';
requires 'DBI';
requires 'Moo';
requires 'DBD::SQLite';
requires 'Mojolicious::Lite';
requires 'XML::Fast';
requires 'JSON::Validator';
requires 'IO::Socket::SSL';
requires 'Types::Standard';
requires 'File::ShareDir::ProjectDistDir';
requires 'Data::Leaf::Walker';
requires 'Hash::Fold';
requires 'JSONLD';
requires 'Devel::Size';
requires 'DateTime::Format::ISO8601';
# t
requires 'Test::Deep';
xt/self-validate-schema.t view on Meta::CPAN
Test::More::plan(
skip_all => 'Skipping tests on ld architectures due to known issues'
);
exit;
}
}
plan skip_all => 'Skipping self-validation test on Windows'
if is_windows();
plan skip_all => 'Requires IO::Socket::SSL for schema self-validation'
unless defined eval { require IO::Socket::SSL; 1 };
my $ok = eval {
my $convert = build_convert(
in_file => 't/redcap2bff/in/redcap_data.csv',
redcap_dictionary => 't/redcap2bff/in/redcap_dictionary.csv',
mapping_file => 't/redcap2bff/in/redcap_mapping.yaml',
schema_file => 't/schema/malformed.json',
self_validate_schema => 1,
method => 'redcap2bff',
);
( run in 2.670 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )