Skip to content
Snippets Groups Projects
Commit 6958197b authored by Amandine  PERRIN's avatar Amandine PERRIN
Browse files

avoid using "" in config file string parameters

parent 81241657
No related branches found
No related tags found
No related merge requests found
Pipeline #62510 passed
...@@ -71,7 +71,6 @@ Configfile has the following format: ...@@ -71,7 +71,6 @@ Configfile has the following format:
.. code-block:: text .. code-block:: text
[module] [module]
param1 = "test"
param2 = test param2 = test
param3= True param3= True
param4 =yes param4 =yes
...@@ -83,7 +82,7 @@ Where: ...@@ -83,7 +82,7 @@ Where:
- `module` corresponds to the module for which you want to give a parameter (`prepare`, `annotate`, `pangenome`, `corepers`, `align`, `tree`). - `module` corresponds to the module for which you want to give a parameter (`prepare`, `annotate`, `pangenome`, `corepers`, `align`, `tree`).
- a boolean parameter is set with one of the boolean values (case-insensitive): 'yes'/'no', 'on'/'off', 'true'/'false' or '1'/'0' (examples with `param3`, `param4` and `param5` which are all booleans with True value) - a boolean parameter is set with one of the boolean values (case-insensitive): 'yes'/'no', 'on'/'off', 'true'/'false' or '1'/'0' (examples with `param3`, `param4` and `param5` which are all booleans with True value)
- `""` are not mandatory for str arguments: `param1` and `param2` are the same. - `""` around strings will be removed. It is better to avoid using them (ex: `param2 = test` instead of `param2 = "test"`)
- Use `#` to comment a line (information after a `#` will not be taken into account by the parser). - Use `#` to comment a line (information after a `#` will not be taken into account by the parser).
- Use `:` or `=` to delimit argument names from values - Use `:` or `=` to delimit argument names from values
......
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