Merge branch 'master' of git.psi.ch:Pmodules/Pmodules_tools

This commit is contained in:
Germann Elsa Sylvia 2023-02-17 17:03:56 +01:00
commit 96072c756c
2 changed files with 5 additions and 0 deletions

View File

@ -16,6 +16,9 @@ check:
- module load Python
- export COLUMNS=$COLUMNS
- export TERM=$TERM
- python3 -m venv pm_tools_venv
- source pm_tools_venv/bin/activate
- pip install -r requirements.txt
- python3 pmodules_tools/pmodules_tools.py --deps-check
pages:

View File

@ -96,6 +96,8 @@ def db_check_diff(current_pmodule_state, Pmodules_db_path, Pmodules_states):
print_pmodules_differences(
current_pmodule_state, old_pmodule_state, Pmodules_states, Pmodules_db_path
)
else:
print_to_asciidoc([], [], [], Pmodules_db_path)
# There is no database available or there are differences with the old pmodule state, writing current state.
if no_current_db or compare_states_sha(