Skip to content

Commit 32e1695

Browse files
committed
Dropped excel export. Closes #113
1 parent 74056ec commit 32e1695

5 files changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Extract test data
4242
run: |
4343
wget https://cardiac.nottingham.ac.uk/syncropatch_export/test_data.tar.xz -P tests/
44-
tar xvf tests/test_data.tar.xz -C tests/
44+
tar xvf test_data.tar.xz -C tests/
4545
4646
- name: Install TeX dependencies for run_herg_qc test
4747
timeout-minutes: 5

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ To run the tests you must first download some test data.
3434
Test data is available at [cardiac.nottingham.ac.uk/syncropatch\_export](https://cardiac.nottingham.ac.uk/syncropatch_export)
3535

3636
```sh
37-
wget https://cardiac.nottingham.ac.uk/syncropatch_export/test_data.tar.xz -P tests/
38-
tar xvf tests/test_data.tar.xz -C tests/
39-
rm tests/test_data.tar.xz
37+
wget https://cardiac.nottingham.ac.uk/syncropatch_export/test_data.tar.xz
38+
tar xvf test_data.tar.xz
39+
rm test_data.tar.xz
4040
```
4141

4242
Then you can run the tests.

pcpostprocess/scripts/run_herg_qc.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,6 @@ def run(data_path, output_path, qc_map, wells=None,
452452

453453
qc_styled_df = create_qc_table(qc_df)
454454
logging.info(qc_styled_df)
455-
# qc_styled_df.to_excel(os.path.join(output_path, 'qc_table.xlsx'))
456455
qc_styled_df.to_latex(os.path.join(output_path, 'qc_table.tex'))
457456

458457
# Save in csv format

pcpostprocess/scripts/summarise_herg_export.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ def run(data_path, output_path, experiment_name, reversal_potential=None,
8484

8585
qc_styled_df = create_qc_table(qc_df)
8686
qc_styled_df = qc_styled_df.pivot(columns='protocol', index='crit')
87-
# qc_styled_df.to_excel(os.path.join(output_path, 'qc_table.xlsx'))
8887
qc_styled_df.to_latex(os.path.join(output_path, 'qc_table.tex'))
8988

9089
qc_df.protocol = ['staircaseramp1' if protocol == 'staircaseramp' else protocol

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ dependencies = [
3838
'pandas>=1.3',
3939
'regex>=2023.12.25',
4040
'seaborn>=0.12.2',
41-
'openpyxl>=3.1.2',
4241
'jinja2>=3.1.0',
4342
'syncropatch_export @ git+https://github.com/CardiacModelling/syncropatch_export.git'
4443
]

0 commit comments

Comments
 (0)