Blender V2.61 - r43446
Functions

rna_cleaner Namespace Reference

Functions

def font_bold
def usage
def help
def check_commandline
def check_prefix
def check_if_changed
def get_props_from_txt
def get_props_from_py
def get_props
def sort
def file_basename
def write_files
def main

Function Documentation

def rna_cleaner::check_commandline ( )
Takes parameters from the commandline.

Definition at line 53 of file rna_cleaner.py.

def rna_cleaner::check_if_changed (   a,
  b 
)

Definition at line 96 of file rna_cleaner.py.

def rna_cleaner::check_prefix (   prop,
  btype 
)

Definition at line 79 of file rna_cleaner.py.

def rna_cleaner::file_basename (   input_filename)

Definition at line 229 of file rna_cleaner.py.

def rna_cleaner::font_bold (   mystring)
Formats the string as bold, to be used in printouts.

Definition at line 15 of file rna_cleaner.py.

def rna_cleaner::get_props (   input_filename)

Definition at line 201 of file rna_cleaner.py.

def rna_cleaner::get_props_from_py (   input_filename)
If the file is *.py, the script assumes it contains a python list (as "rna_api=[...]")
This means that this script executes the text in the py file with an exec(text).

Definition at line 180 of file rna_cleaner.py.

def rna_cleaner::get_props_from_txt (   input_filename)
If the file is *.txt, the script assumes it is formatted as outlined in this script docstring

Definition at line 101 of file rna_cleaner.py.

def rna_cleaner::help ( )
Prints script' help.

Definition at line 38 of file rna_cleaner.py.

Referenced by options_parse().

def rna_cleaner::main ( )

Definition at line 296 of file rna_cleaner.py.

def rna_cleaner::sort (   props_list,
  sort_priority 
)
reminder
props=[comment, changed, bclass, bfrom, bto, kwcheck, btype, description]

Definition at line 209 of file rna_cleaner.py.

def rna_cleaner::usage ( )
Prints script usage.

Definition at line 24 of file rna_cleaner.py.

def rna_cleaner::write_files (   basename,
  props_list,
  props_length_max 
)
Writes in 3 files:
  * output_filename_work.txt: formatted as txt input file (can be edited)
  * output_filename_work.py:  formatted for readability (can be edited)
  * rna_api.py: unformatted, just as final output

Definition at line 245 of file rna_cleaner.py.