genelastic 0.8.0__py3-none-any.whl → 0.10.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- genelastic/api/.env +4 -0
- genelastic/api/cli_start_api.py +2 -2
- genelastic/api/errors.py +52 -0
- genelastic/api/extends/example.py +0 -6
- genelastic/api/extends/example.yml +0 -20
- genelastic/api/routes.py +313 -181
- genelastic/api/server.py +8 -3
- genelastic/api/specification.yml +343 -181
- genelastic/common/__init__.py +0 -44
- genelastic/common/cli.py +52 -11
- genelastic/common/elastic.py +374 -46
- genelastic/common/exceptions.py +34 -2
- genelastic/common/server.py +9 -1
- genelastic/common/types.py +1 -14
- genelastic/import_data/__init__.py +0 -27
- genelastic/import_data/checker.py +99 -0
- genelastic/import_data/checker_observer.py +13 -0
- genelastic/import_data/cli/__init__.py +0 -0
- genelastic/import_data/cli/cli_check.py +135 -0
- genelastic/import_data/{cli_gen_data.py → cli/gen_data.py} +4 -4
- genelastic/import_data/cli/import_data.py +345 -0
- genelastic/import_data/cli/info.py +246 -0
- genelastic/import_data/{cli_integrity.py → cli/integrity.py} +29 -8
- genelastic/import_data/cli/validate.py +146 -0
- genelastic/import_data/collect.py +185 -0
- genelastic/import_data/constants.py +136 -11
- genelastic/import_data/import_bundle.py +102 -59
- genelastic/import_data/import_bundle_factory.py +70 -149
- genelastic/import_data/importers/__init__.py +0 -0
- genelastic/import_data/importers/importer_base.py +136 -0
- genelastic/import_data/importers/importer_factory.py +85 -0
- genelastic/import_data/importers/importer_types.py +234 -0
- genelastic/import_data/logger.py +2 -1
- genelastic/import_data/models/__init__.py +0 -0
- genelastic/import_data/models/analyses.py +178 -0
- genelastic/import_data/models/analysis.py +144 -0
- genelastic/import_data/models/data_file.py +110 -0
- genelastic/import_data/models/process.py +45 -0
- genelastic/import_data/models/processes.py +84 -0
- genelastic/import_data/models/tags.py +170 -0
- genelastic/import_data/models/unique_list.py +109 -0
- genelastic/import_data/models/validate.py +26 -0
- genelastic/import_data/patterns.py +90 -0
- genelastic/import_data/random_bundle.py +10 -8
- genelastic/import_data/resolve.py +157 -0
- genelastic/ui/.env +1 -0
- genelastic/ui/cli_start_ui.py +4 -2
- genelastic/ui/routes.py +289 -42
- genelastic/ui/static/cea-cnrgh.ico +0 -0
- genelastic/ui/static/cea.ico +0 -0
- genelastic/ui/static/layout.ico +0 -0
- genelastic/ui/static/novaseq6000.png +0 -0
- genelastic/ui/static/style.css +430 -0
- genelastic/ui/static/ui.js +458 -0
- genelastic/ui/templates/analyses.html +96 -9
- genelastic/ui/templates/analysis_detail.html +44 -0
- genelastic/ui/templates/bi_process_detail.html +129 -0
- genelastic/ui/templates/bi_processes.html +114 -9
- genelastic/ui/templates/explorer.html +356 -0
- genelastic/ui/templates/home.html +205 -2
- genelastic/ui/templates/layout.html +148 -29
- genelastic/ui/templates/version.html +19 -7
- genelastic/ui/templates/wet_process_detail.html +131 -0
- genelastic/ui/templates/wet_processes.html +114 -9
- genelastic-0.10.0.dist-info/METADATA +686 -0
- genelastic-0.10.0.dist-info/RECORD +76 -0
- {genelastic-0.8.0.dist-info → genelastic-0.10.0.dist-info}/WHEEL +1 -2
- genelastic-0.10.0.dist-info/entry_points.txt +10 -0
- genelastic-0.10.0.dist-info/licenses/LICENSE +519 -0
- genelastic/import_data/analyses.py +0 -69
- genelastic/import_data/analysis.py +0 -205
- genelastic/import_data/bi_process.py +0 -27
- genelastic/import_data/bi_processes.py +0 -49
- genelastic/import_data/cli_import.py +0 -379
- genelastic/import_data/cli_info.py +0 -256
- genelastic/import_data/cli_validate.py +0 -54
- genelastic/import_data/data_file.py +0 -87
- genelastic/import_data/filename_pattern.py +0 -57
- genelastic/import_data/tags.py +0 -123
- genelastic/import_data/wet_process.py +0 -28
- genelastic/import_data/wet_processes.py +0 -53
- genelastic-0.8.0.dist-info/METADATA +0 -109
- genelastic-0.8.0.dist-info/RECORD +0 -52
- genelastic-0.8.0.dist-info/entry_points.txt +0 -8
- genelastic-0.8.0.dist-info/top_level.txt +0 -1
|
@@ -1,11 +1,116 @@
|
|
|
1
1
|
{% extends "layout.html" %}
|
|
2
|
-
{% block title %}
|
|
2
|
+
{% block title %}
|
|
3
|
+
Wet Processes - BEx
|
|
4
|
+
{% endblock title %}
|
|
3
5
|
{% block content %}
|
|
4
|
-
<
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
<
|
|
11
|
-
|
|
6
|
+
<div class="container mt-5">
|
|
7
|
+
<div class="text-center mb-4">
|
|
8
|
+
<h1 class="display-5 title">Liste des conditions expérimentales</h1>
|
|
9
|
+
<p class="lead">Sélectionner les conditions pour afficher les analyses associées.</p>
|
|
10
|
+
</div>
|
|
11
|
+
<div class="card shadow-sm">
|
|
12
|
+
<div class="card-body">
|
|
13
|
+
<h3 class="mb-4">Conditions disponibles</h3>
|
|
14
|
+
<form id="wetForm" method="get" action="{{ request.path }}">
|
|
15
|
+
<input type="text"
|
|
16
|
+
id="wetSearch"
|
|
17
|
+
class="form-control mb-3"
|
|
18
|
+
placeholder="Rechercher un wet process..." />
|
|
19
|
+
<div class="row">
|
|
20
|
+
<div class="col-md-6">
|
|
21
|
+
<div class="list-group" id="wetProcessList">
|
|
22
|
+
{% for wet_process in wet_processes %}
|
|
23
|
+
<div class="list-group-item wet-process-item">
|
|
24
|
+
<div class="form-check">
|
|
25
|
+
<input class="form-check-input"
|
|
26
|
+
type="checkbox"
|
|
27
|
+
id="wet_{{ loop.index }}"
|
|
28
|
+
name="wet_processes"
|
|
29
|
+
value="{{ wet_process }}"
|
|
30
|
+
{% if wet_process in selected_wet_processes %}checked{% endif %} />
|
|
31
|
+
<label class="form-check-label" for="wet_{{ loop.index }}">{{ wet_process }}</label>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
{% endfor %}
|
|
35
|
+
</div>
|
|
36
|
+
<div class="d-flex gap-2 mt-3">
|
|
37
|
+
<button type="button" class="reset-error-btn btn" id="resetWetSelection">Réinitialiser la sélection</button>
|
|
38
|
+
<button type="button" class="btn btn-success" id="selectAllWet">Tout sélectionner</button>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
{% if selected_wet_processes %}
|
|
42
|
+
<div class="col-md-6">
|
|
43
|
+
{% if analyses %}
|
|
44
|
+
<h4 class="mt-4">Analyses associées :</h4>
|
|
45
|
+
<ul class="list-group mt-3">
|
|
46
|
+
{% for analysis in analyses %}
|
|
47
|
+
<li class="list-group-item">
|
|
48
|
+
<a href="{{ url_for('routes.show_analysis_detail', analysis_id=analysis, source='wet') }}"
|
|
49
|
+
class="text-decoration-none">
|
|
50
|
+
<div class="d-flex justify-content-between align-items-center">
|
|
51
|
+
<span>{{ analysis }}</span>
|
|
52
|
+
<i class="bi bi-chevron-right"></i>
|
|
53
|
+
</div>
|
|
54
|
+
</a>
|
|
55
|
+
</li>
|
|
56
|
+
{% endfor %}
|
|
57
|
+
</ul>
|
|
58
|
+
{% else %}
|
|
59
|
+
<div class="alert alert-danger mt-4" role="alert">
|
|
60
|
+
<strong>Aucune analyse correspondante !</strong>
|
|
61
|
+
Aucun processus associé à ce Wet Process.
|
|
62
|
+
</div>
|
|
63
|
+
{% endif %}
|
|
64
|
+
</div>
|
|
65
|
+
{% endif %}
|
|
66
|
+
</div>
|
|
67
|
+
</form>
|
|
68
|
+
</div>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
<script>
|
|
72
|
+
document.getElementById('wetSearch').addEventListener('input', function() {
|
|
73
|
+
const filter = this.value.toLowerCase();
|
|
74
|
+
const items = document.querySelectorAll('.wet-process-item');
|
|
75
|
+
items.forEach((item) => {
|
|
76
|
+
const label = item.querySelector('label').innerText.toLowerCase();
|
|
77
|
+
if (label.startsWith(filter)) {
|
|
78
|
+
item.style.display = '';
|
|
79
|
+
} else {
|
|
80
|
+
item.style.display = 'none';
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
document
|
|
86
|
+
.getElementById('resetWetSelection')
|
|
87
|
+
.addEventListener('click', function() {
|
|
88
|
+
const checkboxes = document.querySelectorAll(
|
|
89
|
+
'#wetForm input[type="checkbox"]',
|
|
90
|
+
);
|
|
91
|
+
checkboxes.forEach((cb) => (cb.checked = false));
|
|
92
|
+
document.getElementById('wetSearch').value = '';
|
|
93
|
+
document.getElementById('wetForm').submit();
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
document
|
|
97
|
+
.getElementById('selectAllWet')
|
|
98
|
+
.addEventListener('click', function() {
|
|
99
|
+
document
|
|
100
|
+
.querySelectorAll('#wetProcessList .form-check-input')
|
|
101
|
+
.forEach((cb) => (cb.checked = true));
|
|
102
|
+
document.getElementById('wetForm').submit();
|
|
103
|
+
});
|
|
104
|
+
|
|
105
|
+
const wetCheckboxes = document.querySelectorAll('#wetForm input[type="checkbox"]');
|
|
106
|
+
const resetWetBtn = document.getElementById('resetWetSelection');
|
|
107
|
+
|
|
108
|
+
function updateWetResetButton() {
|
|
109
|
+
const anyChecked = Array.from(wetCheckboxes).some(cb => cb.checked);
|
|
110
|
+
resetWetBtn.disabled = !anyChecked;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
wetCheckboxes.forEach(cb => cb.addEventListener('change', updateWetResetButton));
|
|
114
|
+
updateWetResetButton();
|
|
115
|
+
</script>
|
|
116
|
+
{% endblock content %}
|