Group
Extension

Matches 1

Chemistry-File-OPTIMADE ( M/ME/MERKYS/Chemistry-File-OPTIMADE-0.11.tar.gz, MERKYS, 2022; MetaCPAN )
Chemistry-File-OPTIMADE/lib/Chemistry/File/OPTIMADE.pm ( view source; MetaCPAN )
# VERSION
# $Id$

use strict;
use warnings;

use base 'Chemistry::File';

use Chemistry::Mol;
use JSON;
use List::Util qw( any );
use URL::Encode qw( url_params_multi );

my @mandatory_fields = qw( ca
ile::OPTIMADE->new( file => 'myfile.json' );
    my $mol = $file->read();

=cut

# Format is not registered, as OPTIMADE does not have proper file extension.
# .json is an option, but not sure if it w
    my $json = decode_json $s;

    if( $json->{meta} &&
        $json->{meta}{api_version} &&
        $json->{meta}{api_version} =~ /^[^01]\./ ) {
        warn 'OPTIMADE API version ' . $json->{meta}

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.