tomwer.core.process.control.nxtomomill.get_default_raw_data_output_file#
- tomwer.core.process.control.nxtomomill.get_default_raw_data_output_file(input_file, output_file_extension='.nx')#
Policy: look for any ‘RAW_DATA’ in file directory. If find any (before any ‘PROCESSED_DATA’ directory) replace it “RAW_DATA”. Then replace input_file by the expected file_extension and make sure the output file is different than the input file. Else append _nxtomo to it.
- Parameters:
input_file (
str
) – file to be converted from bliss to NXtomooutput_file_extension (
str
) –
- Return type:
str
- Returns:
default output file according to policy