Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix description of collectwavecoeffs #81

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions sktools/src/sktools/scripts/collectwavecoeffs.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@


import os
import argparse

import sktools.common as sc
from sktools.skgen import compression
from sktools.scripts.skgen import get_parser_and_subparser_container, \
get_onecnt_common_parser, setup_parser_wavecomp, \
from sktools.scripts.skgen import get_onecnt_common_parser, \
setup_parser_wavecomp, \
parse_command_line_and_run_subcommand, \
convert_argument_to_elements, merge_skdefs
from sktools import PACKAGE_VERSION
Expand All @@ -20,7 +21,7 @@

SCRIPTNAME = sc.get_script_name()

USAGE = USAGE = \
USAGE = \
'''Collects coefficient information for Waveplot. It iterates over the
elements defined in skdef.hsd and collects the wavefunction coefficients
and other information necessary for Waveplot. The homonuclear SK-files as
Expand Down Expand Up @@ -150,6 +151,13 @@ def setup_parser_main(parser):
help='Logging level (default: info)')


def get_parser_and_subparser_container():
parser = argparse.ArgumentParser(description=USAGE)
subparsers = parser.add_subparsers(
title='available subcommands', help='')
return parser, subparsers


def setup_logger(loglevel):
global logger
logger = sc.get_script_logger(loglevel, SCRIPTNAME)
Expand Down
Loading