Configuration file#
Configurable settings that can be set within the configuration file are listed here.
Default config file#
configs:
default:
invocation:
environment_setup:
match: {}
config:
machine: HOSTNAME
log_file_path: logs/MatFlow_v0.5.0.log
environment_sources: []
task_schema_sources: []
command_file_sources: []
parameter_sources: []
default_scheduler: direct
default_shell: bash
schedulers:
direct:
defaults: {}
shells:
bash:
defaults: {}
user_affiliations: []
show_tracebacks: false
use_rich_tracebacks: false
delete_execute_dir: true
known_submissions_max_inactive: 100
known_submissions_max_unknown: 10
show_max_recent: 3
show_scheduler_min_interval: 20
show_timezone: local
show_columns:
- id
- name
- status
- actions
show_list_columns:
- id
- name
- submission
- submit
- status
- path
move_scratch_to_workflow: true
Validation schema#
The configuration file must conform to the following validation schema.
configs#
A mapping of string config "invocation keys" to configuration settings.
[map-value]#
config#
workflow_name_use_dir#
workflow_name_add_timestamp#
By default, whether to use a directory named according to the workflow name, and a separate child directory named according to the date-timestamp if present.
user_orcid#
user_name#
user_affiliations#
use_rich_tracebacks#
If True, use the Rich library to format exception tracebacks.
task_schema_sources#
show_tracebacks#
If True, for the subset of exceptions that have custom user-friendly formatting, also show the traceback, which would otherwise be omitted.
show_timezone#
Timezone for show datetime display. Use local, UTC, or an IANA timezone name.
show_scheduler_min_interval#
Minimum seconds between show scheduler queries per query target. Defaults to 20; zero disables caching. Override once with --ignore-scheduler-interval.
show_max_recent#
Default number of recent inactive submissions displayed by show.
show_list_columns#
Ordered columns for show --list. Action and element states use cached data only.
show_columns#
Ordered columns for show. Omitted columns are hidden.
shells#
program_manifest_file#
If provided, this will be used as the path to the manifest for the built-in example programs. It should point to a JSON file whose top-level keys are example program file keys, like "hello_world/macos_arm64/hello_world". Each value should be an empty map/dict or a map like: {"in_zip": "hello_world.zip"}, where hello_world.zip is the name of a zip archive that contains the program. This can be a local path or an fsspec URL.
program_dir#
If provided, this will be used as the path to the directory containing built-in programs. This can be a local path or an fsspec URL.
parameter_sources#
move_scratch_to_workflow#
If True, move retained custom-scratch execution directories into the workflow after an element iteration finishes or its remaining actions are skipped.
machine#
A label that references the current machine. By default, this uses the return from the Python function socket.gethostname().
log_file_path#
File path to the app log file. The variables <<app_name>> and <<app_version>> are available to be used in this option, which resolve to the app name and version, respectively.
The file path may be nested in non-existent directories, in which case those directories will be generated. If specified as a relative path, the path will be resolved relative to the config directory (the directory that contains the config file).
log_file_level#
log_console_level#
linux_release_file#
known_submissions_max_unknown#
Maximum unknown submission records to retain, ordered by submission time. Defaults to 10; active records are always retained.
known_submissions_max_inactive#
Maximum inactive submission records to retain. Active records are always retained.
environment_sources#
demo_data_manifest_file#
Deprecated. Please use data_manifest_file instead.
demo_data_dir#
Deprecated. Please use data_dir instead.
delete_execute_dir#
If True, delete execution directories after all actions in an element iteration have completed successfully.
default_workflow_path#
Default directory path in which new workflows will be generated.
default_shell#
default_scheduler#
data_manifest_file#
If provided, this will be used as the path to the manifest for the built-in example data files. It should point to a JSON file whose top-level keys are example data file names. Each value should be an empty map/dict or a map like: {"in_zip": "text_file.zip"}, where text_file.zip is the name of a zip archive that contains the example data file. This can be a local path or an fsspec URL.
data_dir#
If provided, this will be used as the path to the directory containing demo data files. This can be a local path or an fsspec URL.