Skip to content

Commit

Permalink
Remove function set_global_id from Simulation class, as we should nev…
Browse files Browse the repository at this point in the history
…er have to change the global ID of a micro simulation
  • Loading branch information
IshaanDesai committed Oct 15, 2023
1 parent bc2c991 commit e987039
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions micro_manager/micro_simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,4 @@ def __init__(self, global_id):
def get_global_id(self) -> int:
return self._global_id

def set_global_id(self, global_id) -> None:
# TODO: Simulation objects have been initialized with a global ID, which
# we can no longer change, so change global ID here is problematic and
# will create a mismatch.
self._global_id = global_id

return Simulation

0 comments on commit e987039

Please sign in to comment.