Xie Qiming 79c0815b70 fix(neware): 修复 submit_auto_export_excel 因 resource=[] 导致 0 下发 + filetype kwarg
问题:
- 日志中 submit_auto_export_excel 收到 resource=[](工作流本身不传成品电池资源,
  电池由人工搬运),原代码 n = len(resource) = 0 → 整个循环跳过 →
  "共 0 颗电池,成功下发 0 颗"。
- neware_driver.start_test 原来不接收 filetype kwarg,导致 TypeError 阻塞下发。

修复:
1. submit_auto_export_excel 改为由 mount_resource 驱动循环长度:
   - 新签名以 mount_resource 为主,resource/pole_weight/coin_cell_code 均可选
   - 新增 coin_cell_code 入参,coin_id 优先级 coin_cell_code > resource.name > fallback
   - n==0 时提前返回并给出明确错误信息
2. manual_confirm 的返回值与 YAML handles/output 新增 coin_cell_code
   (从已解包的 assembly_data 直接取)
3. submit_auto_export_excel YAML goal/schema/goal_default/handles.input
   新增 coin_cell_code;required 中移除 resource(不再强制)
4. neware_driver.build_start_command / start_test 增加 filetype:int=1 参数,
   动态嵌入 XML backup 配置,消除 TypeError

Made-with: Cursor
2026-04-22 16:24:35 +08:00
2026-03-22 04:17:21 +08:00
2026-04-21 12:03:12 +08:00
2026-03-21 19:26:24 +08:00
2026-04-21 11:58:02 +08:00
2026-03-22 04:17:21 +08:00
2026-01-27 13:31:24 +08:00
2026-02-02 17:19:07 +08:00
2026-03-22 04:17:21 +08:00
2025-04-17 15:19:47 +08:00
2026-03-24 11:08:49 +08:00
2026-03-24 11:08:49 +08:00
2025-11-15 03:16:04 +08:00
2025-04-17 14:19:48 +08:00
2026-01-27 13:31:24 +08:00
2026-01-07 20:40:02 +08:00
2026-01-27 13:31:24 +08:00
2026-01-27 13:31:24 +08:00
2026-03-22 04:17:21 +08:00

Uni-Lab Logo

Uni-Lab-OS

English | 中文

GitHub Stars GitHub Forks GitHub Issues GitHub License

Uni-Lab-OS is a platform for laboratory automation, designed to connect and control various experimental equipment, enabling automation and standardization of experimental workflows.

Key Features

  • Multi-device integration management
  • Automated experimental workflows
  • Cloud connectivity capabilities
  • Flexible configuration system
  • Support for multiple experimental protocols

Documentation

Detailed documentation can be found at:

Quick Start

1. Setup Conda Environment

Uni-Lab-OS recommends using mamba for environment management. Choose the package that fits your needs:

Package Use Case Contents
unilabos Recommended for most users Complete package, ready to use
unilabos-env Developers (editable install) Environment only, install unilabos via pip
unilabos-full Simulation/Visualization unilabos + ROS2 Desktop + Gazebo + MoveIt
# Create new environment
mamba create -n unilab python=3.11.14
mamba activate unilab

# Option A: Standard installation (recommended for most users)
mamba install uni-lab::unilabos -c robostack-staging -c conda-forge

# Option B: For developers (editable mode development)
mamba install uni-lab::unilabos-env -c robostack-staging -c conda-forge
# Then install unilabos and dependencies:
git clone https://github.com/deepmodeling/Uni-Lab-OS.git && cd Uni-Lab-OS
pip install -e .
uv pip install -r unilabos/utils/requirements.txt

# Option C: Full installation (simulation/visualization)
mamba install uni-lab::unilabos-full -c robostack-staging -c conda-forge

When to use which?

  • unilabos: Standard installation for production deployment and general usage (recommended)
  • unilabos-env: For developers who need pip install -e . editable mode, modify source code
  • unilabos-full: For simulation (Gazebo), visualization (rviz2), and Jupyter notebooks

2. Clone Repository (Optional, for developers)

# Clone the repository (only needed for development or examples)
git clone https://github.com/deepmodeling/Uni-Lab-OS.git
cd Uni-Lab-OS
  1. Start Uni-Lab System

Please refer to Documentation - Boot Examples

  1. Best Practice

See Best Practice Guide

Message Format

Uni-Lab-OS uses pre-built unilabos_msgs for system communication. You can find the built versions on the GitHub Releases page.

Citation

If you use Uni-Lab-OS in academic research, please cite:

@article{gao2025unilabos,
    title = {UniLabOS: An AI-Native Operating System for Autonomous Laboratories},
    doi = {10.48550/arXiv.2512.21766},
    publisher = {arXiv},
    author = {Gao, Jing and Chang, Junhan and Que, Haohui and Xiong, Yanfei and
              Zhang, Shixiang and Qi, Xianwei and Liu, Zhen and Wang, Jun-Jie and
              Ding, Qianjun and Li, Xinyu and Pan, Ziwei and Xie, Qiming and
              Yan, Zhuang and Yan, Junchi and Zhang, Linfeng},
    year = {2025}
}

License

This project uses a dual licensing structure:

  • Main Framework: GPL-3.0 - see LICENSE
  • Device Drivers (unilabos/devices/): DP Technology Proprietary License

See NOTICE for complete licensing details.

Project Statistics

Stars Trend

Star History Chart

Contact Us

Description
No description provided
Readme GPL-3.0 176 MiB
Languages
Python 86.8%
Jupyter Notebook 10.1%
HTML 2.4%
Shell 0.2%
CSS 0.2%
Other 0.2%