Data Manager has a write text file function that will prevent accidental overwrite, use in probe2 when writing the output file and in reduce2 when writing the description file to avoid overwriting.
iotbx/data_manager/init.py: def _write_text function
The "datatype" field can be any text. It's just for tracking the datatype, like "model” or "miller_array” or any standard DataManager data types.
Data Manager has a write text file function that will prevent accidental overwrite, use in probe2 when writing the output file and in reduce2 when writing the description file to avoid overwriting.
iotbx/data_manager/init.py: def _write_text function
The "datatype" field can be any text. It's just for tracking the datatype, like "model” or "miller_array” or any standard DataManager data types.