Skip to content

Commit

Permalink
Move to 0.8.3.
Browse files Browse the repository at this point in the history
Fix issue in test and with mpwt exiting when all runs are complete.
Update license year.
  • Loading branch information
ArnaudBelcour committed Jan 13, 2023
1 parent 7b9d97a commit fd03e38
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 10 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

# mpwt 0.8.3 (2023-01-13)

## Fix:

- issue making mpwt exits when all runs are already complete.
- issue in test (wrong argument for removing PGDBs).

## Modify:

- update license year.

# mpwt 0.8.2 (2022-12-16)

## Modify:
Expand Down
4 changes: 2 additions & 2 deletions mpwt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Arnaud Belcour - Inria Dyliss
# Copyright (C) 2018-2023 Arnaud Belcour - Inria Dyliss
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand All @@ -17,4 +17,4 @@
from mpwt.utils import cleaning, cleaning_input, find_ptools_path, list_pgdb, pubmed_citations, remove_pgdbs
from mpwt.to_pathologic import create_pathologic_file

__version__='0.8.2'
__version__='0.8.3'
2 changes: 1 addition & 1 deletion mpwt/__main__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

# Copyright (C) 2018-2022 Arnaud Belcour - Inria Dyliss
# Copyright (C) 2018-2023 Arnaud Belcour - Inria Dyliss
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
8 changes: 7 additions & 1 deletion mpwt/mpwt_workflow.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Arnaud Belcour - Inria Dyliss
# Copyright (C) 2018-2023 Arnaud Belcour - Inria Dyliss
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down Expand Up @@ -361,6 +361,12 @@ def independent_mpwt(input_folder, output_folder=None, patho_inference=None,
run_ids = [folder_id for folder_id in next(os.walk(input_folder))[1]]
run_patho_flat_ids, run_flat_ids = check_input_and_existing_pgdb(run_ids, input_folder, output_folder, number_cpu_to_use)
if run_patho_flat_ids is None and run_flat_ids is None:
# If all run_ids are in output folder, return as it has complete.
if output_folder:
already_present_outputs = [output_pgdb.replace('.zip', '') for output_pgdb in os.listdir(output_folder)]
if set(run_ids) == set(already_present_outputs):
return
# For other case, there is possibly an error, mpwt exits.
logger.critical('/!\\ Issue during input check.')
sys.exit()

Expand Down
2 changes: 1 addition & 1 deletion mpwt/pathologic_input.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Arnaud Belcour - Inria Dyliss
# Copyright (C) 2018-2023 Arnaud Belcour - Inria Dyliss
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 1 addition & 1 deletion mpwt/pwt_wrapper.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Arnaud Belcour - Inria Dyliss
# Copyright (C) 2018-2023 Arnaud Belcour - Inria Dyliss
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 1 addition & 1 deletion mpwt/results_check.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Arnaud Belcour - Inria Dyliss
# Copyright (C) 2018-2023 Arnaud Belcour - Inria Dyliss
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 1 addition & 1 deletion mpwt/to_pathologic.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Arnaud Belcour - Inria Dyliss
# Copyright (C) 2018-2023 Arnaud Belcour - Inria Dyliss
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 1 addition & 1 deletion mpwt/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2018-2022 Arnaud Belcour- Inria Dyliss
# Copyright (C) 2018-2023 Arnaud Belcour- Inria Dyliss
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

# Copyright (C) 2018-2022 Arnaud Belcour - Inria Dyliss
# Copyright (C) 2018-2023 Arnaud Belcour - Inria Dyliss
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down

0 comments on commit fd03e38

Please sign in to comment.