irie 0.0.4__py3-none-any.whl → 0.0.5__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.
Potentially problematic release.
This version of irie might be problematic. Click here for more details.
- irie/apps/templates/networks/networks.js +2 -2
- {irie-0.0.4.dist-info → irie-0.0.5.dist-info}/METADATA +1 -1
- {irie-0.0.4.dist-info → irie-0.0.5.dist-info}/RECORD +6 -6
- {irie-0.0.4.dist-info → irie-0.0.5.dist-info}/WHEEL +0 -0
- {irie-0.0.4.dist-info → irie-0.0.5.dist-info}/entry_points.txt +0 -0
- {irie-0.0.4.dist-info → irie-0.0.5.dist-info}/top_level.txt +0 -0
|
@@ -189,14 +189,14 @@ function handleCorridorUpdate(event) {
|
|
|
189
189
|
// Normalize weights if totalWeight > 0 to avoid division by zero
|
|
190
190
|
if (totalWeight > 0) {
|
|
191
191
|
weightFields.forEach(field => {
|
|
192
|
-
const normalizedValue = field.value / totalWeight;
|
|
192
|
+
const normalizedValue = field.value / totalWeight*100;
|
|
193
193
|
formData.set(field.key, normalizedValue);
|
|
194
194
|
|
|
195
195
|
// Update the input field in the form
|
|
196
196
|
const inputElement = form.querySelector(`[name="${field.key}"]`);
|
|
197
197
|
if (inputElement) {
|
|
198
198
|
// Limit decimals for readability
|
|
199
|
-
inputElement.value = normalizedValue.toFixed(
|
|
199
|
+
inputElement.value = normalizedValue.toFixed(0);
|
|
200
200
|
}
|
|
201
201
|
});
|
|
202
202
|
}
|
|
@@ -422,7 +422,7 @@ irie/apps/templates/layouts/base-fullscreen.html,sha256=14X-eubwjujt4jGMJGvbYqaW
|
|
|
422
422
|
irie/apps/templates/layouts/base.html,sha256=1fJ-YCAQMd-Lf83B4Lf1sMPkS6oGAzrmD5_h1xs-SKI,2313
|
|
423
423
|
irie/apps/templates/layouts/json-form.html,sha256=cT6Pd2168Z3p8RODS7SulUC79LnuzSs0EVLVxkGOXAo,1333
|
|
424
424
|
irie/apps/templates/networks/corridor_table.html,sha256=VijOUKq15D3zqru5nq-WZin59YIwb5FvOB1F8-K_MJQ,894
|
|
425
|
-
irie/apps/templates/networks/networks.js,sha256=
|
|
425
|
+
irie/apps/templates/networks/networks.js,sha256=5uEshaGOxzwEbDo4nOVK2lCrNrYL_MO2d4vgqAIOT3U,7444
|
|
426
426
|
irie/apps/templates/networks/styled_inputs.html,sha256=4IqtA4oQw6zAc2oypEYspIn_dS0syvVtZvkshhj1Tco,118
|
|
427
427
|
irie/apps/templates/prediction/asset-predictors.html,sha256=Uu4QdwYe7xvtTG0NSMg9Fu5azajJBCiJTYyWnLBbhkk,3810
|
|
428
428
|
irie/apps/templates/prediction/form-submission.html,sha256=IBAHLK2gr7kMgD-nemx-VVGpT4npEQwdsL5uGYiOhy8,5564
|
|
@@ -467,8 +467,8 @@ irie/init/data/networks/soga_corridors.json,sha256=AQOUaKGNWkQxQKLfqphE9Qb_-NRmj
|
|
|
467
467
|
irie/init/management/commands/init_assets.py,sha256=LtptSA90Czy9vh3qfn6QqfLkR6o3Nw30QRQh4Poe8Qk,6426
|
|
468
468
|
irie/init/management/commands/init_corridors.py,sha256=kvcY8V5blEdyUxVGxm3wtBhv9AddPz0wAUJFRufZVxo,1359
|
|
469
469
|
irie/init/management/commands/init_predictors.py,sha256=5JwAb8vJUTCMVtwzolZLjxrN-O-UJxiiZg-ugTtbGoA,1993
|
|
470
|
-
irie-0.0.
|
|
471
|
-
irie-0.0.
|
|
472
|
-
irie-0.0.
|
|
473
|
-
irie-0.0.
|
|
474
|
-
irie-0.0.
|
|
470
|
+
irie-0.0.5.dist-info/METADATA,sha256=sOY6o2sNavhZF67yXCbStshIzBcr4LH3LL0sr1pPuL8,2457
|
|
471
|
+
irie-0.0.5.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
472
|
+
irie-0.0.5.dist-info/entry_points.txt,sha256=A_3h9wPBGfxGQ78_MGa-nO6Z0foxOYeAnIE47jxEztg,44
|
|
473
|
+
irie-0.0.5.dist-info/top_level.txt,sha256=zVCxi5E2nkISZPzKq8VEhWe_dGuPcefLYV1tYqQdwlY,5
|
|
474
|
+
irie-0.0.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|