def info_cmd():
sdat = stagyydata.StagyyData(conf.core.path)<EOL>lsnap = sdat.snaps.last<EOL>lstep = sdat.steps.last<EOL>print('<STR_LIT>'.format(sdat.path))<EOL>if lsnap.geom.threed:<EOL><INDENT>dimension = '<STR_LIT>'.format(lsnap.geom.nxtot,<EOL>lsnap.geom.nytot,<EOL>lsnap.geom.nztot)<EOL><DEDENT>elif lsnap.geom.twod_xz:<EOL><INDENT>dimension = '<STR_LIT>'.format(lsnap.geom.nxtot,<EOL>lsnap.geom.nztot)<EOL><DEDENT>else:<EOL><INDENT>dimension = '<STR_LIT>'.format(lsnap.geom.nytot,<EOL>lsnap.geom.nztot)<EOL><DEDENT>if lsnap.geom.cartesian:<EOL><INDENT>print('<STR_LIT>', dimension)<EOL><DEDENT>elif lsnap.geom.cylindrical:<EOL><INDENT>print('<STR_LIT>', dimension)<EOL><DEDENT>else:<EOL><INDENT>print('<STR_LIT>', dimension)<EOL><DEDENT>print('<STR_LIT>',<EOL>'<STR_LIT>'.format(lstep.istep),<EOL>'<STR_LIT>'.format(lstep.timeinfo['<STR_LIT:t>']),<EOL>'<STR_LIT>'.format(lstep.timeinfo['<STR_LIT>']),<EOL>sep='<STR_LIT:\n>')<EOL>print('<STR_LIT>'.format(lsnap.istep),<EOL>'<STR_LIT>'.format(lsnap.isnap),<EOL>'<STR_LIT>'.format(lsnap.timeinfo['<STR_LIT:t>']),<EOL>'<STR_LIT>'.format('<STR_LIT:U+002C>'.join(lsnap.fields)),<EOL>sep='<STR_LIT:\n>')<EOL>
Print basic information about StagYY run.