logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

STAR::Writer - Perl extension for writing STAR::DataBlock objects as files.

Author

       Wolfgang Bluhm, mail@wbluhm.comAcknowledgments
       Thanks to Phil Bourne, Helge Weissig, Anne Kuller, Doug Greer, Michele Bluhm, and others for support,
       help, and comments.

Class Methods

write_cif
         Usage:  STAR::Writer->write_cif( -dataref=>$data,
                                          -file=>$file [,
                                          -options=>$options ] );

       Write the STAR::DataBlock object referenced by $data to the file specified by $file. $options are 'l' for
       logging activity (to STDERR) and 'd' for debugging.

Comments

       Categories and items are currently written out in alphabetical order. Obviously, this is of no importance
       to automated parsing. However, it may not be desirable for visual inspection of files.

Description

       This module will provide several methods for writing STAR::DataBlocks as files in different format.
       Currently, there is a write_cif method, which writes a STAR::DataBlock or STAR::Dictionary object as a
       file in CIF (STAR) format.

Name

       STAR::Writer - Perl extension for writing STAR::DataBlock objects as files.

   Version
       This documentation refers to version 0.01 of this module.

See Also

       STAR::Parser, STAR::Dictionary.

perl v5.38.2                                       2024-02-16                                  STAR::Writer(3pm)

Synopsis

         use STAR::Writer;

         STAR::Writer->write_cif( -dataref=>$data, -file=>$file );

See Also