Skip to content

Commit a2ab2e3

Browse files
author
Benedikt Ehinger
committed
fixed docs with new path for test-config
1 parent 16d9cf5 commit a2ab2e3

File tree

4 files changed

+1
-7
lines changed

4 files changed

+1
-7
lines changed

docs/configuration.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ lslautobids gen-dv-config
1717
```
1818
_Currently, the package doesn't allow you to have multiple dataverse configurations. This will be added in future versions and can be easily adapted_
1919

20-
However for testing purposes, we create a separate test configuration file `~/.config/lslautobids/test-autobids_config.yaml` which is used when running the tests.
21-
2220
#### Project Configuration (`gen_project_config.py`)
2321
This module generates a project-specific configuration file in TOML format. This file is stored in the `projects/<PROJECT_NAME>/<PROJECT_NAME>_config.toml` file and contains:
2422
- Project metadata: Title, description, license, and authors, etc.

docs/developers_documentation.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,7 @@ The command to generate the dataverse configuration file is:
9292
```
9393
lslautobids gen-dv-config
9494
```
95-
_Currently, the package doesn't allow you to have multiple dataverse configurations. This will be added in future versions and can be easily adapted_
96-
97-
However for testing purposes, we create a separate test configuration file `~/.config/lslautobids/test-autobids_config.yaml` which is used when running the tests.
95+
_Currently, the package doesn't allow you to have multiple dataverse configurations. This will be added in future versions.
9896

9997
#### 2. Project Configuration (`gen_project_config.py`)
10098
This module generates a project-specific configuration file in TOML format. This file is stored in the `projects/<PROJECT_NAME>/<PROJECT_NAME>_config.toml` file and contains:

lslautobids/config_globals.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ def parse_yaml_file(yaml_file):
5656

5757
# Determine config paty based on context
5858
if "pytest" in sys.modules:
59-
#config_file = os.path.join(os.path.expanduser("~"), ".config/lslautobids/test-autobids_config.yaml")
6059
config_file = "tests/pytest-autobids_config.yaml"
6160
else:
6261
config_file = os.path.join(os.path.expanduser("~"), ".config/lslautobids/autobids_config.yaml")

tests/conftest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ def setup_project(monkeypatch):
3636
from lslautobids.gen_project_config import main as gen_project_config_main
3737

3838
# Create dummy user config for the test
39-
#config_file_test = os.path.join(os.path.expanduser("~"),'.config/lslautobids/test-autobids_config.yaml')
4039
config_file_test = ("tests/pytest-autobids_config.yaml")
4140

4241
#os.makedirs(os.path.dirname(config_file_test), exist_ok=True)

0 commit comments

Comments
 (0)