Write the results to a BMRB NMR-STAR formatted file.
file: The name of the BMRB file to output results to. Optionally this can be a file object, or any object with a write() method.
dir: The directory name.
version: The NMR-STAR dictionary format version to create.
force: A flag which if True will cause the any pre-existing file to be overwritten.
This will create a NMR-STAR formatted file of the data in the current data pipe for BMRB deposition.
In the prompt/script UI modes, to place the BMRB file in the current working directory, set dir to None. If dir is set to the special name `pipe_name', then the results file will be placed into a directory with the same name as the current data pipe.