Skip to content

Commit 8066c20

Browse files
committed
Update README.md
Modify resource_tracker file module path.
1 parent 266366c commit 8066c20

File tree

18 files changed

+38
-43
lines changed

18 files changed

+38
-43
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ Detailed documentation can be found at:
3131

3232
## Quick Start
3333

34-
Uni-Lab-OS recommends using `mamba` for environment management. Choose the appropriate environment file for your operating system:
34+
1. Setup Conda Environment
35+
36+
Uni-Lab-OS recommends using `mamba` for environment management:
3537

3638
```bash
3739
# Create new environment
@@ -40,7 +42,7 @@ mamba activate unilab
4042
mamba install -n unilab uni-lab::unilabos -c robostack-staging -c conda-forge
4143
```
4244

43-
## Install Dev Uni-Lab-OS
45+
2. Install Dev Uni-Lab-OS
4446

4547
```bash
4648
# Clone the repository
@@ -51,17 +53,21 @@ cd Uni-Lab-OS
5153
pip install .
5254
```
5355

54-
3. Start Uni-Lab System:
56+
3. Start Uni-Lab System
5557

5658
Please refer to [Documentation - Boot Examples](https://deepmodeling.github.io/Uni-Lab-OS/boot_examples/index.html)
5759

60+
4. Best Practice
61+
62+
See [Best Practice Guide](https://deepmodeling.github.io/Uni-Lab-OS/user_guide/best_practice.html)
63+
5864
## Message Format
5965

6066
Uni-Lab-OS uses pre-built `unilabos_msgs` for system communication. You can find the built versions on the [GitHub Releases](https://github.com/deepmodeling/Uni-Lab-OS/releases) page.
6167

6268
## Citation
6369

64-
If you use Uni-Lab-OS in academic research, please cite:
70+
If you use [Uni-Lab-OS](https://arxiv.org/abs/2512.21766) in academic research, please cite:
6571

6672
```bibtex
6773
@article{gao2025unilabos,

README_zh.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,21 @@ cd Uni-Lab-OS
5353
pip install .
5454
```
5555

56-
3. 启动 Uni-Lab 系统:
56+
3. 启动 Uni-Lab 系统
5757

5858
请见[文档-启动样例](https://deepmodeling.github.io/Uni-Lab-OS/boot_examples/index.html)
5959

60+
4. 最佳实践
61+
62+
请见[最佳实践指南](https://deepmodeling.github.io/Uni-Lab-OS/user_guide/best_practice.html)
63+
6064
## 消息格式
6165

6266
Uni-Lab-OS 使用预构建的 `unilabos_msgs` 进行系统通信。您可以在 [GitHub Releases](https://github.com/deepmodeling/Uni-Lab-OS/releases) 页面找到已构建的版本。
6367

6468
## 引用
6569

66-
如果您在学术研究中使用 Uni-Lab-OS,请引用:
70+
如果您在学术研究中使用 [Uni-Lab-OS](https://arxiv.org/abs/2512.21766),请引用:
6771

6872
```bibtex
6973
@article{gao2025unilabos,

docs/user_guide/graph_files.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ Uni-Lab 使用 `ResourceDictInstance.get_resource_instance_from_dict()` 方法
463463
### 使用示例
464464

465465
```python
466-
from unilabos.ros.nodes.resource_tracker import ResourceDictInstance
466+
from unilabos.resources.resource_tracker import ResourceDictInstance
467467

468468
# 旧格式节点
469469
old_format_node = {
@@ -477,10 +477,10 @@ old_format_node = {
477477
instance = ResourceDictInstance.get_resource_instance_from_dict(old_format_node)
478478

479479
# 访问标准化后的数据
480-
print(instance.res_content.id) # "pump_1"
481-
print(instance.res_content.uuid) # 自动生成的 UUID
480+
print(instance.res_content.id) # "pump_1"
481+
print(instance.res_content.uuid) # 自动生成的 UUID
482482
print(instance.res_content.config) # {}
483-
print(instance.res_content.data) # {}
483+
print(instance.res_content.data) # {}
484484
```
485485

486486
### 格式迁移建议

tests/resources/test_resourcetreeset.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
import json
33
import os
44

5-
from pylabrobot.resources import Resource as ResourcePLR
65
from unilabos.resources.graphio import resource_bioyond_to_plr
7-
from unilabos.ros.nodes.resource_tracker import ResourceTreeSet
6+
from unilabos.resources.resource_tracker import ResourceTreeSet
87
from unilabos.registry.registry import lab_registry
98

109
from unilabos.resources.bioyond.decks import BIOYOND_PolymerReactionStation_Deck

unilabos/app/backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import threading
22

3-
from unilabos.ros.nodes.resource_tracker import ResourceTreeSet
3+
from unilabos.resources.resource_tracker import ResourceTreeSet
44
from unilabos.utils import logger
55

66

unilabos/app/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def main():
278278
from unilabos.app.web import start_server
279279
from unilabos.app.register import register_devices_and_resources
280280
from unilabos.resources.graphio import modify_to_backend_format
281-
from unilabos.ros.nodes.resource_tracker import ResourceTreeSet, ResourceDict
281+
from unilabos.resources.resource_tracker import ResourceTreeSet, ResourceDict
282282

283283
# 显示启动横幅
284284
print_unilab_banner(args_dict)

unilabos/app/web/client.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@
66

77
import json
88
import os
9-
import time
10-
from threading import Thread
119
from typing import List, Dict, Any, Optional
1210

1311
import requests
14-
from unilabos.ros.nodes.resource_tracker import ResourceTreeSet
12+
from unilabos.resources.resource_tracker import ResourceTreeSet
1513
from unilabos.utils.log import info
1614
from unilabos.config.config import HTTPConfig, BasicConfig
1715
from unilabos.utils import logger

unilabos/device_comms/coin_cell_assembly_workstation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"""
77
from typing import Dict, Any, List, Optional, Union
88

9-
from unilabos.ros.nodes.resource_tracker import DeviceNodeResourceTracker
9+
from unilabos.resources.resource_tracker import DeviceNodeResourceTracker
1010
from unilabos.device_comms.workstation_base import WorkstationBase, WorkflowInfo
1111
from unilabos.device_comms.workstation_communication import (
1212
WorkstationCommunicationBase, CommunicationConfig, CommunicationProtocol, CoinCellCommunication
@@ -61,7 +61,7 @@ def __init__(
6161

6262
# 创建资源跟踪器(如果没有提供)
6363
if resource_tracker is None:
64-
from unilabos.ros.nodes.resource_tracker import DeviceNodeResourceTracker
64+
from unilabos.resources.resource_tracker import DeviceNodeResourceTracker
6565
resource_tracker = DeviceNodeResourceTracker()
6666

6767
# 初始化基类

unilabos/devices/liquid_handling/biomek.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import copy
1414
from unilabos_msgs.msg import Resource
1515

16-
from unilabos.ros.nodes.resource_tracker import DeviceNodeResourceTracker # type: ignore
16+
from unilabos.resources.resource_tracker import DeviceNodeResourceTracker # type: ignore
1717

1818

1919
class LiquidHandlerBiomek:

unilabos/resources/graphio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from unilabos.resources.container import RegularContainer
1414
from unilabos.resources.itemized_carrier import ItemizedCarrier, BottleCarrier
1515
from unilabos.ros.msgs.message_converter import convert_to_ros_msg
16-
from unilabos.ros.nodes.resource_tracker import (
16+
from unilabos.resources.resource_tracker import (
1717
ResourceDictInstance,
1818
ResourceTreeSet,
1919
)

0 commit comments

Comments
 (0)