ocssw
V2022
|
Functions | |
def | get_1_file_name (data_file, target_program, clopts) |
def | get_extension (file_type) |
def | get_multifile_next_level_name (data_files_list_info, target_program, clopts) |
def | get_multifile_output_name (data_files_list_info, target_program, clopts) |
def | get_command_line_data () |
def | get_data_files_info (file_list_file) |
def | myfunc (n) |
def | handle_unexpected_exception (exc_info) |
def | main () |
Variables | |
dictionary | FILE_TYPES_CONVERTER |
bool | DEBUG = False |
PROCESSABLE_PROGRAMS = \ | |
Detailed Description
Program to return the name of the next level file that would be created from the input file name.
Function Documentation
◆ get_1_file_name()
def next_level_name.get_1_file_name | ( | data_file, | |
target_program, | |||
clopts | |||
) |
Return the next level name for a single file.
Definition at line 39 of file next_level_name.py.
◆ get_command_line_data()
def next_level_name.get_command_line_data | ( | ) |
Returns the options and arguments from a command line call.
Definition at line 87 of file next_level_name.py.
◆ get_data_files_info()
def next_level_name.get_data_files_info | ( | file_list_file | ) |
Returns a list of of data files.
Definition at line 119 of file next_level_name.py.
◆ get_extension()
def next_level_name.get_extension | ( | file_type | ) |
Returns the extension appropriate for the program.
Definition at line 49 of file next_level_name.py.
◆ get_multifile_next_level_name()
def next_level_name.get_multifile_next_level_name | ( | data_files_list_info, | |
target_program, | |||
clopts | |||
) |
Return the next level name for a set of files.
Definition at line 56 of file next_level_name.py.
◆ get_multifile_output_name()
def next_level_name.get_multifile_output_name | ( | data_files_list_info, | |
target_program, | |||
clopts | |||
) |
Returns the file name derived from a group of files names.
Definition at line 69 of file next_level_name.py.
◆ handle_unexpected_exception()
def next_level_name.handle_unexpected_exception | ( | exc_info | ) |
Builds and prints an error message from the exception information, then exits.
Definition at line 149 of file next_level_name.py.
◆ main()
def next_level_name.main | ( | ) |
Main function for when this module is called as a program.
Definition at line 162 of file next_level_name.py.
◆ myfunc()
def next_level_name.myfunc | ( | n | ) |
Definition at line 146 of file next_level_name.py.
Variable Documentation
◆ DEBUG
Definition at line 217 of file next_level_name.py.
◆ FILE_TYPES_CONVERTER
dictionary FILE_TYPES_CONVERTER |
Definition at line 29 of file next_level_name.py.
◆ PROCESSABLE_PROGRAMS
PROCESSABLE_PROGRAMS = \ |
Definition at line 219 of file next_level_name.py.