Skip to content
Snippets Groups Projects
Commit 4d85c099 authored by Robert Rosca's avatar Robert Rosca
Browse files

Add root argument, change in/out folders

parent 75f97897
No related branches found
No related tags found
1 merge request!466Feat/user notebooks
%% Cell type:markdown id: tags:
# Test Notebook - CLI
Author: Robert Rosca
Version: 0.1
Notebook for use with the unit and continuous integration tests.
%% Cell type:code id: tags:
```
in_folder = "/dev/null" # input folder
out_folder = "/dev/null" # output folder
root = "root/path/for/nb" # Variables included in the user notebook path must
# be included in the notebook for reasons
in_folder = "./" # input folder
out_folder = "./" # output folder
list_normal = [10] # parameterized list, range allowed
list_intellilist = [2345] # parameterized list with ranges, range allowed
concurrency_parameter = [1] # concurrency parameter, range allowed
number = 0 # parameterized number
```
%% Cell type:markdown id: tags:
Tests notebook execution by just creating an empty file in the output directory.
%% Cell type:code id: tags:
```
from pathlib import Path
```
%% Cell type:code id: tags:
```
in_folder = Path(in_folder)
(in_folder / "touch").touch()
```
......
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