Skip to content
Snippets Groups Projects
Commit 277aa58d authored by Duncan Mortimer's avatar Duncan Mortimer
Browse files

Rename example_conf to default_conf

parent 5f724b09
No related branches found
No related tags found
No related merge requests found
......@@ -717,16 +717,16 @@ def _default_config_file():
'fsl_sub_sge.yml')
def example_conf():
'''Returns a string containing the example configuration for this
def default_conf():
'''Returns a string containing the default configuration for this
cluster plugin.'''
try:
with open(_default_config_file()) as e_conf_f:
e_conf = e_conf_f.read()
with open(_default_config_file()) as d_conf_f:
d_conf = d_conf_f.read()
except FileNotFoundError as e:
raise MissingConfiguration("Unable to find example configuration file: " + str(e))
return e_conf
raise MissingConfiguration("Unable to find default configuration file: " + str(e))
return d_conf
def job_status(job_id, sub_job_id=None):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment