Skip to content

Commit a79b5df

Browse files
TBThomas56Matt-Carre
authored andcommitted
fix: fixes to copier template and subsequent README
1 parent e0c3cab commit a79b5df

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎README.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ A basic example showing a file being mounted from a folder and a notebook runnin
2323
A more advanced example showing a visr recon workflow, converting an .nxs to a .hdf5 file. | <https://github.com/DiamondLightSource/python-interface-to-workflows/blob/main/src/python_interface_to_workflows/workflow_definitions/visr_notebook_example/visr-recon.ipynb>
2424
# Using Copier
2525
```bash
26+
module load uv
2627
mkdir new_directory_path
2728
cd new_directory_path
2829
git init
@@ -34,11 +35,11 @@ cd ..
3435
then either:
3536
```bash
3637
git clone git@github.com:DiamondLightSource/python-interface-to-workflows.git
37-
copier copy {this_repo's_path} {new_directory_path}
38+
uvx copier copy {this_repo's_path} {new_directory_path}
3839
```
3940
or:
4041
```bash
41-
copier copy git@github.com:DiamondLightSource/python-interface-to-workflows.git .
42+
uvx copier copy git@github.com:DiamondLightSource/python-interface-to-workflows.git .
4243
code .
4344
```
4445

‎src/copier_template/pyproject.toml.jinja‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ description = "Run tests with coverage"
160160
commands = [
161161
[
162162
"pytest",
163-
"--cov={% endraw %}{{project_name}}{% raw %}",
163+
"--cov={{project_name}}",
164164
"--cov-report",
165165
"term",
166166
"--cov-report",

0 commit comments

Comments
 (0)