Skip to content

Commit

Permalink
Merge pull request #309 from Subaru-PFS/dev-main
Browse files Browse the repository at this point in the history
update admin page for more downloading features
  • Loading branch information
monodera authored Sep 17, 2024
2 parents e7e9f04 + c2b9421 commit 1f963c8
Show file tree
Hide file tree
Showing 6 changed files with 619 additions and 461 deletions.
2 changes: 1 addition & 1 deletion src/pfs_target_uploader/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "3.2.1"
__version__ = "3.2.2"
11 changes: 6 additions & 5 deletions src/pfs_target_uploader/cli/cli_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,9 @@ def simulate(
_, # ppp_status
) = PPPrunStart(
tb_visible,
None,
max_exec_time,
None, # uPPC
None, # weight_para
exetime=max_exec_time,
max_nppc=max_nppc,
single_exptime=single_exptime,
)
Expand Down Expand Up @@ -317,9 +318,9 @@ def start_app(
# pn.state.notifications.position = "bottom-left"

if app == "uploader":
from ..pn_app import target_uploader_app as pn_app
from ..pn_app import target_uploader_app as panel_app
elif app == "admin":
from ..pn_app import list_files_app as pn_app
from ..pn_admin import list_files_app as panel_app

if allow_websocket_origin is None:
allow_websocket_origin = ["localhost"]
Expand Down Expand Up @@ -363,7 +364,7 @@ def start_app(

# Ref: https://panel.holoviz.org/reference/widgets/FileInput.html#limits-defined
pn.serve(
pn_app,
panel_app,
port=port,
prefix=prefix,
use_xheaders=use_xheaders,
Expand Down
Loading

0 comments on commit 1f963c8

Please sign in to comment.