Skip to content

Commit 843a12a

Browse files
new build
'
1 parent af978a0 commit 843a12a

File tree

7 files changed

+110
-114
lines changed

7 files changed

+110
-114
lines changed

asset-manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"files": {
33
"main.css": "/static/css/main.02152627.css",
4-
"main.js": "/static/js/main.0a4f5feb.js",
4+
"main.js": "/static/js/main.7169a98f.js",
55
"static/media/roboto-all-500-normal.woff": "/static/media/roboto-all-500-normal.0ab669b7a0d19b178f57.woff",
66
"static/media/roboto-all-700-normal.woff": "/static/media/roboto-all-700-normal.a457fde362a540fcadff.woff",
77
"static/media/roboto-all-400-normal.woff": "/static/media/roboto-all-400-normal.c5d001fa922fa66a147f.woff",
@@ -36,10 +36,10 @@
3636
"static/media/roboto-greek-ext-700-normal.woff2": "/static/media/roboto-greek-ext-700-normal.bd9854c751441ccc1a70.woff2",
3737
"index.html": "/index.html",
3838
"main.02152627.css.map": "/static/css/main.02152627.css.map",
39-
"main.0a4f5feb.js.map": "/static/js/main.0a4f5feb.js.map"
39+
"main.7169a98f.js.map": "/static/js/main.7169a98f.js.map"
4040
},
4141
"entrypoints": [
4242
"static/css/main.02152627.css",
43-
"static/js/main.0a4f5feb.js"
43+
"static/js/main.7169a98f.js"
4444
]
4545
}

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Pioreactor"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><script defer="defer" src="/static/js/main.0a4f5feb.js"></script><link href="/static/css/main.02152627.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
1+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Pioreactor"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><script defer="defer" src="/static/js/main.7169a98f.js"></script><link href="/static/css/main.02152627.css" rel="stylesheet"></head><body><div id="root"></div></body></html>

pioreactorui/api.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -418,12 +418,8 @@ def get_exp_logs(experiment: str) -> ResponseReturnValue:
418418
min_level = request.args.get("min_level", "INFO")
419419

420420
recent_logs = query_app_db(
421-
f"""SELECT l.timestamp, level, l.pioreactor_unit, message, task, l.experiment
421+
f"""SELECT l.timestamp, l.level, l.pioreactor_unit, l.message, l.task, l.experiment
422422
FROM logs AS l
423-
JOIN experiment_worker_assignments_history h
424-
on h.pioreactor_unit = l.pioreactor_unit
425-
and h.assigned_at <= l.timestamp
426-
and DATETIME(l.timestamp) <= DATETIME(coalesce(h.unassigned_at, STRFTIME('%Y-%m-%dT%H:%M:%f000Z', 'NOW')), '+5 seconds')
427423
WHERE (l.experiment=? )
428424
AND ({get_level_string(min_level)})
429425
ORDER BY l.timestamp DESC LIMIT 50 OFFSET {skip};""",
@@ -437,7 +433,7 @@ def get_exp_logs(experiment: str) -> ResponseReturnValue:
437433
def get_recent_logs_for_unit_and_experiment(
438434
pioreactor_unit: str, experiment: str
439435
) -> ResponseReturnValue:
440-
"""Shows event logs for a specific unit within an experiment"""
436+
"""Shows event logs for a specific unit within an experiment. This is for the single-page Pioreactor ui"""
441437

442438
min_level = request.args.get("min_level", "INFO")
443439

static/js/main.0a4f5feb.js

Lines changed: 0 additions & 103 deletions
This file was deleted.

static/js/main.7169a98f.js

Lines changed: 103 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)