irie 0.0.53__py3-none-any.whl → 0.0.54__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.

@@ -21,7 +21,7 @@ urlpatterns = [
21
21
  path("asset_table/export", views.asset_table_export, name="asset_table_export_csv"),
22
22
  re_path(
23
23
  "^evaluations/(?P<event>[0-9 A-Z-]*)/(?P<cesmd>[0-9 A-Z-]*)/.*", views.asset_event_summary,
24
- name="asset_event_summary"
24
+ name="asset_event_summary"
25
25
  ),
26
26
  re_path("^inventory/(?P<calid>[0-9 A-Z-]*)/evaluations/$", views.asset_evals, name="asset_evals"),
27
27
  re_path("^inventory/(?P<calid>[0-9 A-Z-]*)/$", views.asset_profile, name="asset_profile"),
@@ -339,7 +339,6 @@ def asset_profile(request, calid):
339
339
  raise e
340
340
  import sys
341
341
  print(e, file=sys.stderr)
342
- print(e)
343
342
  html_template = loader.get_template("site/page-500.html")
344
343
  return HttpResponse(html_template.render(context, request))
345
344
 
@@ -517,9 +517,6 @@ class OpenSeesRunner(Runner):
517
517
  mesh = from_aisc("W12x14").create_mesh(mesh_kwds={"engine": "meshpy"})
518
518
  mesh = (mesh.nodes, mesh.cells())
519
519
  # return {}, mesh
520
-
521
-
522
-
523
520
 
524
521
  def structural_members(self):
525
522
 
@@ -12,7 +12,6 @@ import json
12
12
  import io
13
13
  import base64
14
14
  import numpy as np
15
- # Ensure Agg backend is set for non-interactive plotting
16
15
 
17
16
  import quakeio
18
17
  from scipy.signal import find_peaks
@@ -433,6 +432,7 @@ def plot_spectral_surface(ax, traces, **options):
433
432
 
434
433
 
435
434
  def _plot_mountains(spectra, accellim=None):
435
+ # Ensure Agg backend is set for non-interactive plotting
436
436
  import matplotlib
437
437
  matplotlib.use('Agg')
438
438
  from matplotlib import pyplot as plt, ticker, cm
@@ -120,7 +120,6 @@ def predictor_profile(request, calid, preid):
120
120
  context["predictor"] = predictor
121
121
  context["sensors"] = predictor.sensorassignment_set.all()
122
122
 
123
-
124
123
  try:
125
124
  if predictor.protocol == PredictorModel.Protocol.TYPE1:
126
125
  html_template = loader.get_template("prediction/xara-profile.html")
@@ -5,6 +5,7 @@
5
5
  //===----------------------------------------------------------------------===#
6
6
  //
7
7
  class TablePagination {
8
+
8
9
  constructor(tableId, paginationId, searchInputId, rowsPerPage = 9) {
9
10
  this.table = document.getElementById(tableId);
10
11
  this.pagination = document.getElementById(paginationId);
@@ -1,5 +1,3 @@
1
-
2
- <!-- Core -->
3
1
  <script src="{{ ASSETS_ROOT }}/vendor/@popperjs/core/dist/umd/popper.min.js"></script>
4
2
  <script src="{{ ASSETS_ROOT }}/vendor/bootstrap/dist/js/bootstrap.min.js"></script>
5
3
  <script>
@@ -243,12 +243,10 @@ document.addEventListener('DOMContentLoaded', () => {
243
243
 
244
244
  const scene = createSensorRenderer(container, modelPath);
245
245
 
246
-
247
- const arrowObjects = [];
248
-
249
246
  //
250
247
  // Plot Button
251
248
  //
249
+ const arrowObjects = [];
252
250
  const plotButton = document.getElementById('plot-btn');
253
251
  plotButton.addEventListener('click', function () {
254
252
  arrowObjects.forEach(arrow => {
@@ -62,7 +62,7 @@ Claudio Perez, Summer 2023
62
62
  <h6 class="accordion-header" style="display:inline" id="{{forloop.counter}}">
63
63
  <a href="./{{predictor.id}}" >
64
64
  {{predictor.name}}
65
- </a> (<code>{{ predictor.platform }}</code>)
65
+ </a> <!-- (<code>{{ predictor.platform }}</code>) -->
66
66
  </h6>
67
67
  </div>
68
68
 
@@ -12,7 +12,6 @@
12
12
  }
13
13
  </script>
14
14
  <script type="module" src="https://unpkg.com/@google/model-viewer/dist/model-viewer.min.js"></script>
15
-
16
15
  {% endblock stylesheets %}
17
16
 
18
17
  {% block content %}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: irie
3
- Version: 0.0.53
3
+ Version: 0.0.54
4
4
  Summary: An infrastructure resilience engine
5
5
  Author-email: "Claudio M. Perez" <50180406+claudioperez@users.noreply.github.com>
6
6
  Project-URL: Repository, https://github.com/STAIRLab
@@ -64,8 +64,8 @@ irie/apps/inventory/forms.py,sha256=y8tcIGInXDg7KCf1OWd1jtc4umJsm8rf8-4O8nDhNd4,
64
64
  irie/apps/inventory/models.py,sha256=VdJ_5mEb6lBk21NalK8bhOy0u6SFdWmhXpcQ4vRs3Pg,6131
65
65
  irie/apps/inventory/sitemaps.py,sha256=Nha1MTsIH_ad7JyoxwonPytp7MNuEhDNszkEUOmlN0o,826
66
66
  irie/apps/inventory/tables.py,sha256=vZdPOcbN1ibuWXqLwbBUoQw9iavwa1GJ5fd83k8bu7Y,27874
67
- irie/apps/inventory/urls.py,sha256=u2LNLB4K4fDq3yPYtREKf3i7_yHRzrTP3cb22G8Brvk,1578
68
- irie/apps/inventory/views.py,sha256=0CyW2MytaUTlaWZsJ0HREcm9yHlt9zEacUrSAJnUNpQ,21951
67
+ irie/apps/inventory/urls.py,sha256=1VQIo0oCMHa112q-zJBP5mOBxsdI2upfqnTRHe9IirE,1577
68
+ irie/apps/inventory/views.py,sha256=zSjaBh3gogeHNbvLSzkbiybC5Y8ao8p4l4ujXQsioxw,21933
69
69
  irie/apps/inventory/archive/CESMD.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
70
70
  irie/apps/inventory/archive/calid.py,sha256=3L8MbPIGOE3kzDnqeyY055pRBiF2O2l0cmpuDbTsdTg,3014
71
71
  irie/apps/inventory/migrations/0001_initial.py,sha256=PwTHv4Q3gqWFha--8Zp9kUOh-cYalB14jXj7RVJUVnw,1786
@@ -100,7 +100,7 @@ irie/apps/prediction/metrics.py,sha256=Zh1utUZTGddQEVn4e1rLO74tbIz7bVvZli8sgmuB_
100
100
  irie/apps/prediction/models.py,sha256=hmgSXRgUovuekHCxqPaqSiN7WNNjY7iAz9gqOOlELLo,2841
101
101
  irie/apps/prediction/predictor.py,sha256=-x_4kHWnfUxiX2aQfbl3dsbVAG4lRKAFbo1CqfZNCIc,831
102
102
  irie/apps/prediction/urls.py,sha256=_v7CdR97c7eMcsilURYP0c1QCzxBNnex0lbcTfWrpOI,1028
103
- irie/apps/prediction/views.py,sha256=iP0SyE1WVbGCNDM2T44E0HNvNJSuN8FSSOOF5uv1fYk,9251
103
+ irie/apps/prediction/views.py,sha256=v34Kas6pzRPf1GQQ1fG0s4zVqPZYw9LiPIEVjz4E9d4,9250
104
104
  irie/apps/prediction/views_api.py,sha256=DJzLYO5ouPOWkkZJNZxZJzxC3TROKJ-L6Z2IC1NMuFQ,6888
105
105
  irie/apps/prediction/migrations/0001_initial.py,sha256=-0GWd2vUUAzSPfptccAJ3raI3UD4Xj9H0E5EJ7xN0Ek,1428
106
106
  irie/apps/prediction/migrations/0002_alter_predictormodel_protocol.py,sha256=nrQvuZ1eRR7fR17IjdS0Xyw14y9DpE6HkG2-h7HQ_zA,560
@@ -111,8 +111,8 @@ irie/apps/prediction/migrations/0006_remove_sensorassignment_show_x_and_more.py,
111
111
  irie/apps/prediction/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
112
112
  irie/apps/prediction/runners/__init__.py,sha256=pur6vJ5zXwjyTxl7p0TBJ8dt-2h-4Ty65KPmtRM8lyQ,2308
113
113
  irie/apps/prediction/runners/hazus.py,sha256=sWQDDmwN82wKSHW9EGx46JOOPo_IN2CTK7RF23Rx4c4,31207
114
- irie/apps/prediction/runners/ssid.py,sha256=sVOsDm5TotpUdd2mTqvAiMveOPMjTEoQBy40EyCY5YI,18807
115
- irie/apps/prediction/runners/opensees/__init__.py,sha256=S5qKLo_7_pJKiSvsArpNz012h7ku4eR0tk35fLegKdk,23051
114
+ irie/apps/prediction/runners/ssid.py,sha256=_5TZrbWtt-Mid-PXiUu33QOQ7rUK2FLkyAg_B957RLc,18811
115
+ irie/apps/prediction/runners/opensees/__init__.py,sha256=jHiQW2_UrmxL6EhIe2Y5sH5--l7Y0GNbpWmaofyB4Xo,23040
116
116
  irie/apps/prediction/runners/opensees/metrics.py,sha256=HU1V0RYQDXrhTcHqwpnU2KOSl4UPNo9S6QP3sz2VcUY,6428
117
117
  irie/apps/prediction/runners/opensees/utilities.py,sha256=1cajnV6gWkJ5obYixfbHZKwxi1ECpR0sBWquAAGhseE,9032
118
118
  irie/apps/prediction/runners/opensees/xmlutils.py,sha256=Q3i5L0Dp_5nRsKRGMr-m_bS03Mxa36Ujb-RvwAmResc,7510
@@ -380,7 +380,6 @@ irie/apps/templates/accounts/register.html,sha256=S41m7tBk4oNFRqFX_Wp9s_hR66f3KG
380
380
  irie/apps/templates/admin/base_site.html,sha256=edyJ4E6r4Vc4iJGLjA8DruoZnfJjFMEPDT-V_JBZtpo,659
381
381
  irie/apps/templates/admin/color_theme_toggle.html,sha256=owh9iJVw55HfqHEEaKUpeCxEIB4db8qFALv4fsbG0fI,697
382
382
  irie/apps/templates/bridges/InteractiveTwin-CE58658.html,sha256=MqVlYHylsTD815nswD5yNmKG6NuEpOgP8ocvr3RpnLI,4628421
383
- irie/apps/templates/components/json-table.html,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
384
383
  irie/apps/templates/css/admin-extra.css,sha256=UlyykqGhv0DwMMYxwNKOV_jsi_oV28JPy9VH9aAdsmg,100
385
384
  irie/apps/templates/documents/documents.html,sha256=XRn6jf3lAWeiDWMa0FdBrfXO0sOi0L6yX8yzBtuqFwU,4634
386
385
  irie/apps/templates/events/EarthquakeResponse.html,sha256=HI6Bw8mQqIghUgMpg8jmf7wHzunonomeFvP28YAElLo,12358
@@ -393,8 +392,8 @@ irie/apps/templates/includes/asset-event-table.html,sha256=5mOsTQienIQb1dXS2_3Wc
393
392
  irie/apps/templates/includes/footer.html,sha256=dnfLJUYN70gdHFY_Xzkj5KuISD4ve-kKp6vwn4h8hDE,714
394
393
  irie/apps/templates/includes/modal-report.html,sha256=iqD6g9R4R7G426wLVL46H5fufWYAA3K8Acav9b0DQoU,3592
395
394
  irie/apps/templates/includes/navigation.html,sha256=iUblmqRGBT0GRCsvOUKy6a1O1buq-IkJRKSlmbhevb4,13670
396
- irie/apps/templates/includes/paginate.js,sha256=GfpQkGiOTmGvowhLSCYAGB7R6ZjKFistI3rp9r9R4Vg,4229
397
- irie/apps/templates/includes/scripts.html,sha256=_9iU0UtyrPkEnDGy8GN-cjTZ7OCtet5bRHwaiI_U1eI,840
395
+ irie/apps/templates/includes/paginate.js,sha256=eYKMoI-LJIqtbe0i1LYrg3G6rAdsMhtQZSo0LHNtkZA,4230
396
+ irie/apps/templates/includes/scripts.html,sha256=x74crFgk_ArJO0XFIR74Ekw8pdYIOE4jtinHqn0tcJo,825
398
397
  irie/apps/templates/includes/settings-box.html,sha256=_YubYOyAJ8IldTgVlXP2wLLXpKpInp8hJ88FN6i6rmw,2488
399
398
  irie/apps/templates/includes/sidebar.html,sha256=DDwvNQI0SYNSsxBe_3MbrY3A-xR859RBaj-2Ml8y7yo,13012
400
399
  irie/apps/templates/inventory/asset-evals.html,sha256=KzbdJJ7ildMpfO4IQDuXqGBcPzUTlYpJ_Y3Wg4payVc,2700
@@ -413,7 +412,7 @@ irie/apps/templates/inventory/map-single-asset2.html,sha256=57UjCuHke_ftcMIzqooh
413
412
  irie/apps/templates/inventory/map-terrain.html,sha256=XAvFzJM06k4b5zVmHbseSD7hQAhkvF05K4UCtXD4sOU,9493
414
413
  irie/apps/templates/inventory/preamble.tex,sha256=TmRhIWg2-Pxj_e2OBctANRZPwU8RWMT3EZJFSa3R8HY,3547
415
414
  irie/apps/templates/inventory/report.tex,sha256=A1XKpwknlBrAZjFzzxVIDwypjXteqzoCQiuo1tQANfw,45228
416
- irie/apps/templates/inventory/sensor-upload.html,sha256=-sTuMOG75swq6uf9QWhFmG2leVPTGDI_jbudYjPjPeU,12828
415
+ irie/apps/templates/inventory/sensor-upload.html,sha256=dw0kCjG0x-AEFhNGnD-hvprv8xqJJk1yRc3PsCY1rC4,12826
417
416
  irie/apps/templates/inventory/three-maps.html,sha256=OUqF59SdAndul7eSDDaS9MYTlNhJDfLU87bM532omfc,8548
418
417
  irie/apps/templates/layouts/base-fullscreen.html,sha256=q1nKewLnQ8inBxsUcHlq2Iv_s_qrw6k6bumX7mLR1mI,2579
419
418
  irie/apps/templates/layouts/base.html,sha256=ua-PwkH11AVeSbRYnMeAwAlXgXrQWGcFsqhtGbDSiVo,2411
@@ -422,12 +421,12 @@ irie/apps/templates/networks/_networks.html,sha256=FHKgVadZhnoxREYhnaiXWjL6x1iG6
422
421
  irie/apps/templates/networks/corridor_table.html,sha256=SW6WMmxGsw2li1BXqvCRj1CFJ3IPUulfk-KHJBIMFx0,876
423
422
  irie/apps/templates/networks/networks.js,sha256=KsTnwiPXv0WYTd3GiejHz1gWiBkOVfIuCC7jZVYlRwg,7479
424
423
  irie/apps/templates/networks/styled_inputs.html,sha256=4IqtA4oQw6zAc2oypEYspIn_dS0syvVtZvkshhj1Tco,118
425
- irie/apps/templates/prediction/asset-predictors.html,sha256=fVP39Rf2Gu0rt4cYakM4jYCEmOXbrr4giVWxrBbGWtI,4814
424
+ irie/apps/templates/prediction/asset-predictors.html,sha256=JdaQHTVtRyYttUl1esZi34CqRiK6hiMGrIfOxxr6NPA,4823
426
425
  irie/apps/templates/prediction/create-mdof.html,sha256=QVuZGz3E5iwYvOQk_kkitAt5qxfP5zmr2zyVQBWKQzs,4602
427
426
  irie/apps/templates/prediction/create-model.html,sha256=QjgeuEqSCDFbJlGK3PY6LePia3vJXKqD6g2TKdpIeE4,3237
428
427
  irie/apps/templates/prediction/new-runner.html,sha256=7gMXrrD-CylMDUelIltB9JnmnqlBr4euqktTfRFnhdU,1586
429
428
  irie/apps/templates/prediction/predictor-profile.html,sha256=PWUQAOAAWQP_Ak2D-cQP5PoVjyLiz6Kc8lhNLlffnZk,1253
430
- irie/apps/templates/prediction/xara-profile.html,sha256=eCzUuPcv03QBYwipYAN30uEUB1wVKKUWGfqd3q1kUEI,8843
429
+ irie/apps/templates/prediction/xara-profile.html,sha256=S1paPUML3le37pPggRFoPBixwt2zulufb0B6hS5ogcU,8842
431
430
  irie/apps/templates/prediction/hazus/event.html,sha256=vcmQKfb-Gww5sd-kn6b2QL3llRrfQFv8mafVNNxTHrY,841
432
431
  irie/apps/templates/prediction/hazus/history.html,sha256=zvnwP0gxSV9JNBbYACnKlMLB9iD7hGUbdkZ6kfJtBik,136
433
432
  irie/apps/templates/prediction/hazus/history.js,sha256=blHRXzlEfMBCezPE-2dZCpt2rVgTiGHkYlY1t-clOE8,1101
@@ -496,8 +495,8 @@ irie/init/management/commands/make_asset.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm
496
495
  irie/pull/nbi.py,sha256=KpBjJ9GEU72Qk1t4bGN9cg0QBeVJ8k9XcI3Y1oSgIR0,11478
497
496
  irie/rest/__main__.py,sha256=6Nf_-Rr9zGmMyp_wqCFDO7ls9QPnPd9UyUgN17rIGYw,3680
498
497
  irie/usgs/__main__.py,sha256=HiSvPn5IW5IqRiCk1qRRq5dCy3-7iISw7v1P_w2rLrk,5049
499
- irie-0.0.53.dist-info/METADATA,sha256=KeFh5656sSo032wk-q7KSOarl264gYDZbVGtYlGXdiA,3205
500
- irie-0.0.53.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
501
- irie-0.0.53.dist-info/entry_points.txt,sha256=A_3h9wPBGfxGQ78_MGa-nO6Z0foxOYeAnIE47jxEztg,44
502
- irie-0.0.53.dist-info/top_level.txt,sha256=zVCxi5E2nkISZPzKq8VEhWe_dGuPcefLYV1tYqQdwlY,5
503
- irie-0.0.53.dist-info/RECORD,,
498
+ irie-0.0.54.dist-info/METADATA,sha256=MyIZNsL0kY5XuOlGX6y-SXC46Lf6SYuqCfRnslHYyHk,3205
499
+ irie-0.0.54.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
500
+ irie-0.0.54.dist-info/entry_points.txt,sha256=A_3h9wPBGfxGQ78_MGa-nO6Z0foxOYeAnIE47jxEztg,44
501
+ irie-0.0.54.dist-info/top_level.txt,sha256=zVCxi5E2nkISZPzKq8VEhWe_dGuPcefLYV1tYqQdwlY,5
502
+ irie-0.0.54.dist-info/RECORD,,
File without changes