Skip to content

Commit 2d1f7a0

Browse files
authored
Merge pull request #343 from BU-ISCIII/develop
Release v1.3.0
2 parents 9acb6cf + cf8c587 commit 2d1f7a0

23 files changed

+13595
-1455
lines changed

.github/workflows/python_lint.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@ name: python_lint
22

33
on:
44
push:
5-
paths:
6-
- '**.py'
5+
branches: "**"
76
pull_request:
8-
paths:
9-
- '**.py'
7+
types: [opened, reopened, synchronize, closed]
8+
branches: "**"
109

1110
jobs:
1211
flake8_py3:
@@ -19,6 +18,8 @@ jobs:
1918
architecture: x64
2019
- name: Checkout PyTorch
2120
uses: actions/checkout@master
21+
with:
22+
fetch-depth: 0
2223
- name: Install flake8
2324
run: pip install flake8
2425
- name: Check for Python file changes
@@ -40,6 +41,8 @@ jobs:
4041
steps:
4142
- name: Setup
4243
uses: actions/checkout@v2
44+
with:
45+
fetch-depth: 0
4346
- name: Install black in jupyter
4447
run: pip install black[jupyter]
4548
- name: Check for Python file changes

CHANGELOG.md

+73-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,75 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [1.2.0] - 2024-10-11 : https://github.com/BU-ISCIII/relecov-tools/releases/tag/1.2.0
7+
## [1.X.0] - 202X-XX-XX : https://github.com/BU-ISCIII/relecov-tools/releases/tag/
8+
9+
### Credits
10+
11+
Code contributions to the release:
12+
13+
### Modules
14+
15+
#### Added enhancements
16+
17+
#### Fixes
18+
19+
#### Changed
20+
21+
#### Removed
22+
23+
### Requirements
24+
25+
## [1.3.0] - 2024-12-23 : https://github.com/BU-ISCIII/relecov-tools/releases/tag/v1.3.0
26+
27+
### Credits
28+
29+
Code contributions to the release:
30+
31+
- [Pablo Mata](https://github.com/Shettland)
32+
- [Sergio Olmos](https://github.com/OPSergio)
33+
- [Sarai Varona](https://github.com/svarona)
34+
35+
### Modules
36+
37+
- Included files-folder option for read-lab-metadata when no samples_data.json is provided [#330](https://github.com/BU-ISCIII/relecov-tools/pull/330)
38+
- Included folder_names multiple arg for pipeline_manager to specify names of folders to process [#331](https://github.com/BU-ISCIII/relecov-tools/pull/331)
39+
- Include send-mail. Automated email notification module to generate and send validation reports. [#328](https://github.com/BU-ISCIII/relecov-tools/pull/328)
40+
41+
#### Added enhancements
42+
43+
- Now logs-to-excel can handle logs with multiple keys and includes folder logs [#329](https://github.com/BU-ISCIII/relecov-tools/pull/329)
44+
- Improved logging messages for duplicated sample IDs in read-lab and download modules [#330](https://github.com/BU-ISCIII/relecov-tools/pull/330)
45+
- Included a new method string_to_date() in utils to search for a date pattern within a string [#331](https://github.com/BU-ISCIII/relecov-tools/pull/331)
46+
- Integrated jinja2 for template rendering in the mail module. [#328](https://github.com/BU-ISCIII/relecov-tools/pull/328)
47+
- Configurations for the mail module added to configuration.json [#328](https://github.com/BU-ISCIII/relecov-tools/pull/328)
48+
- Added static method get_invalid_count in log_summary.py [#328](https://github.com/BU-ISCIII/relecov-tools/pull/328)
49+
- Included a try-except for every module to catch unexpected errors in __main__.py [#339](https://github.com/BU-ISCIII/relecov-tools/pull/339)
50+
- Added, removed and renamed collecting institutions and their cities [#340](https://github.com/BU-ISCIII/relecov-tools/pull/340)
51+
- Updated contact directory to integrate additional institution data. [#349](https://github.com/BU-ISCIII/relecov-tools/pull/349)
52+
- Added support for multiple recipients in the email_receiver field. [#349](https://github.com/BU-ISCIII/relecov-tools/pull/349)
53+
- Introduced a new Jinja template for successful and error validation reports. [#349](https://github.com/BU-ISCIII/relecov-tools/pull/349)
54+
- Modified the module logic to dynamically select and render email templates based on user input. [#349](https://github.com/BU-ISCIII/relecov-tools/pull/349)
55+
- Enhanced email formatting and added a default CC to [email protected]. [#349](https://github.com/BU-ISCIII/relecov-tools/pull/349)
56+
- Validate module now takes an optional argument to select the name of the sheet to check in excel file [#357](https://github.com/BU-ISCIII/relecov-tools/pull/357)
57+
- Fixed email module [#361](https://github.com/BU-ISCIII/relecov-tools/pull/361)
58+
59+
#### Fixes
60+
61+
- Fixed python linting workflow was still waiting for .py files[#335](https://github.com/BU-ISCIII/relecov-tools/pull/335)
62+
- Now files-folder arg works with relative paths in read-lab-metadata [#339](https://github.com/BU-ISCIII/relecov-tools/pull/339)
63+
- Now check-gzip-integrity() catches any exception in utils.py as it only needs to return True when file can be decompressed [#339](https://github.com/BU-ISCIII/relecov-tools/pull/339)
64+
- Now validate modules does not crash when no METADATA_LAB sheet is found. [#357](https://github.com/BU-ISCIII/relecov-tools/pull/357)
65+
66+
#### Changed
67+
68+
- Pipeline-manager fields_to_split is now in configuration.json to group samples by those fields [#331](https://github.com/BU-ISCIII/relecov-tools/pull/331)
69+
- Homogeneized style of report global report sheet in logs-excel [#339](https://github.com/BU-ISCIII/relecov-tools/pull/339)
70+
71+
#### Removed
72+
73+
### Requirements
74+
75+
## [1.2.0] - 2024-10-11 : https://github.com/BU-ISCIII/relecov-tools/releases/tag/v1.2.0
876

977
### Credits
1078

@@ -35,7 +103,9 @@ Code contributions to the release:
35103
- When no samples_data.json is given, read-lab-metadata now creates a new one [#324](https://github.com/BU-ISCIII/relecov-tools/pull/324)
36104
- Handling for missing sample ids in read-lab-metadata [#324](https://github.com/BU-ISCIII/relecov-tools/pull/324)
37105
- Better logging for download, read-lab-metadata and wrapper [#324](https://github.com/BU-ISCIII/relecov-tools/pull/324)
38-
106+
- Add SQK-RBK114-96 to library_preparation_kit schema [#333](https://github.com/BU-ISCIII/relecov-tools/pull/333)
107+
- Corrected the Submitting_institution for Hospital de Valdepeñas, Centro de Salud Altagracia and Hospital General de Santa Bárbara.[#334](https://github.com/BU-ISCIII/relecov-tools/pull/334)
108+
- Added Hospital General de Tomelloso. [#334](https://github.com/BU-ISCIII/relecov-tools/pull/334)
39109
#### Fixes
40110

41111
- Fixed wrong city name in relecov_tools/conf/laboratory_address.json [#320](https://github.com/BU-ISCIII/relecov-tools/pull/320)
@@ -64,7 +134,7 @@ Code contributions to the release:
64134

65135
### Requirements
66136

67-
## [1.1.0] - 2024-09-13 : https://github.com/BU-ISCIII/relecov-tools/releases/tag/1.1.0
137+
## [1.1.0] - 2024-09-13 : https://github.com/BU-ISCIII/relecov-tools/releases/tag/v1.1.0
68138

69139
### Credits
70140

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ $ relecov-tools --help
6464
\ \ / |__ / |__ | |___ | | | \ /
6565
/ / \ | \ | | | | | | \ /
6666
/ |--| | \ |___ |___ |___ |___ |___| \/
67-
RELECOV-tools version 1.2.0
67+
RELECOV-tools version 1.3.0
6868
Usage: relecov-tools [OPTIONS] COMMAND [ARGS]...
6969
7070
Options:

0 commit comments

Comments
 (0)