runmanager.make_single_run_file

runmanager.make_single_run_file(filename, sequenceglobals, runglobals, sequence_attrs, run_no, n_runs)[source]

Does what it says. runglobals is a dict of this run’s globals, the format being the same as that of one element of the list returned by expand_globals. sequence_globals is a nested dictionary of the type returned by get_globals. sequence_attrs is a dict of attributes pertaining to this sequence, as returned by new_sequence_details. run_no and n_runs must be provided, if this run file is part of a sequence, then they should reflect how many run files are being generated in this sequence, all of which must have identical sequence_attrs.