{"python_script":{"script":"def weight_empty_vial(vial_index: Optional[int]):\n\tdeck.robotic_arm.pick_up_vial_from_tray(**{'vial_number': vial_index})\n\tdeck.robotic_arm.place_vial_on_capping_station()\n\tdeck.capping_station.uncap_vial()\n\tdeck.robotic_arm.pick_up_vial_on_capping_station()\n\tdeck.robotic_arm.place_vial_on_weigh_balance()\n\tdeck.weigh_balance.get_weight_mg()\n\tdeck.robotic_arm.pick_up_vial_on_weigh_balance()"},"script":{"author":"demo_db9f477e","deck":"app","description":"","editing_type":"script","id_order":{"cleanup":[],"prep":[],"script":["1","2","3","4","5","6","7"]},"last_modified":"2026-09-22 20:58:04","name":"weight_empty_vial","python_script":null,"registered":true,"return_values":[],"script_dict":{"cleanup":[],"prep":[],"script":[{"action":"pick_up_vial_from_tray","arg_order":["vial_number"],"arg_types":{"vial_number":["int","NoneType"]},"args":{"vial_number":"#vial_index"},"batch_action":false,"consolidate_batch_args":[],"coroutine":false,"id":1,"instrument":"deck.robotic_arm","return":"","return_format":{"annotation":"","kind":"scalar","types":[]},"uuid":238376555293676},{"action":"place_vial_on_capping_station","arg_order":[],"arg_types":{},"args":{},"batch_action":false,"consolidate_batch_args":[],"coroutine":false,"id":2,"instrument":"deck.robotic_arm","return":"","return_format":{"annotation":"","kind":"scalar","types":[]},"uuid":222220160034973},{"action":"uncap_vial","arg_order":[],"arg_types":{},"args":{},"batch_action":false,"consolidate_batch_args":[],"coroutine":false,"id":3,"instrument":"deck.capping_station","return":"","return_format":{"annotation":"","kind":"scalar","types":[]},"uuid":148113518131458},{"action":"pick_up_vial_on_capping_station","arg_order":[],"arg_types":{},"args":{},"batch_action":false,"consolidate_batch_args":[],"coroutine":false,"id":4,"instrument":"deck.robotic_arm","return":"","return_format":{"annotation":"","kind":"scalar","types":[]},"uuid":211660114754107},{"action":"place_vial_on_weigh_balance","arg_order":[],"arg_types":{},"args":{},"batch_action":false,"consolidate_batch_args":[],"coroutine":false,"id":5,"instrument":"deck.robotic_arm","return":"","return_format":{"annotation":"","kind":"scalar","types":[]},"uuid":200335457290341},{"action":"get_weight_mg","arg_order":[],"arg_types":{},"args":{},"batch_action":false,"consolidate_batch_args":[],"coroutine":false,"id":6,"instrument":"deck.weigh_balance","return":"","return_format":{"annotation":"","kind":"scalar","types":[]},"uuid":175578039742591},{"action":"pick_up_vial_on_weigh_balance","arg_order":[],"arg_types":{},"args":{},"batch_action":false,"consolidate_batch_args":[],"coroutine":false,"id":7,"instrument":"deck.robotic_arm","return":"","return_format":{"annotation":"","kind":"scalar","types":[]},"uuid":48656365964857}]},"status":"editing","time_created":"2026-09-22 20:03:29","uuid":"8f337620-9cb8-4fea-9059-9a68949d6e82"}}
