45 | | 1. **Maestro Tracking** (GitHub Issue): We worked on creating an updatable JSON file for the experiment which could show the status of the experiment, as well as the specific Maestros that were running. The file can update in real time, as Maestros are turned on and off. |
| 45 | 1. **Maestro Tracking** (GitHub Issue): We worked on creating an updatable JSON file for the experiment which could show the status of the experiment, as well as the specific Maestros that were running. The file can update in real time, as Maestros are turned on and off. This was accomplished by adding a check_json function to the file, app.py. |
| 46 | |
| 47 | {{{#!python |
| 48 | def check_json(): |
| 49 | path = r"experiment.json" |
| 50 | if not os.path.exists(path): |
| 51 | experiment_dict = { |
| 52 | "status": "off", |
| 53 | "maestros": [] |
| 54 | } |
| 55 | json_obj = json.dumps(experiment_dict, indent=4) |
| 56 | with open('experiment.json', 'w') as outfile: |
| 57 | outfile.write(json_obj) |
| 58 | else: |
| 59 | return |
| 60 | }}} |
| 61 | |
| 62 | 2. **Frontend Development**: |
| 63 | |
| 64 | 3. **Maestro Setup**: We got 6 Maestros setup and running within our group's local workspace. These Maestros are all set to run experiments and start collecting data. We plan roll out more Maestro devices throughout the rest of WINLAB in the coming two weeks, with the end goal of having ~25 Maestro devices throughout the facility collecting data. |
| 65 | |