Ignore:
Timestamp:
Nov 28, 2017, 1:48:14 AM (20 months ago)
Author:
nmedfort
Message:

updated UCD python scripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/UCD-scripts/cformat.py

    r5655 r5749  
    3333   return f
    3434
    35 def open_cpp_file_for_write(filename, generator_name='UCD_properties.py'):
    36    f = open(UCD_config.UCD_output_dir + '/' + filename + '.cpp', 'w')
    37    f.write(cpp_template % (generator_name, filename))
    38    return f
    39 
    4035def close_header_file(f):
    4136   f.write("\n#endif\n")
    42    f.close()
    43 
    44 def close_cpp_file(f):
    4537   f.close()
    4638
Note: See TracChangeset for help on using the changeset viewer.