Skip to content

Commit

Permalink
Clean ups
Browse files Browse the repository at this point in the history
  • Loading branch information
Dozgulbas committed May 8, 2024
1 parent 883e06a commit ac28c59
Showing 1 changed file with 30 additions and 41 deletions.
71 changes: 30 additions & 41 deletions src/platecrane_driver/test.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# Noqa
import platecrane_driver


if __name__ == "__main__":
import platecrane_driver

"""
Runs given function.
"""
Expand All @@ -22,22 +20,20 @@

# print(s.lid_height)

s.remove_lid(source = "Solo.Position2", target="LidNest1", plate_type="test_96_well")
#print(s.lid_height)
s.remove_lid(source="Solo.Position2", target="LidNest1", plate_type="test_96_well")
# print(s.lid_height)
# s.move_location("Solo.Position1")


# print(s.get_position())
# s.set_location("Safe", 182220, 2500, 460, -308)

# # # s.move_location("Solo.Position1")
# s.move_location("Safe")



# s.move_location("Stack4")
# s.move_single_axis("Z", "Safe", delay_time=1) # move all the way up in z height

#print(s.get_location_list())
# print(s.get_location_list())

# s.transfer("Stack4","Solo.Position1",source_type="stack",target_type="stack",height_offset=800) # test from stack to solo pos 1
# s.transfer("Stack4","Solo.Position1",source_type="stack",target_type="stack") # Stack 4 to SOLO 1
Expand Down Expand Up @@ -75,19 +71,17 @@

### Hidex Recalibration

#s.transfer("Solo.Position1","Hidex.Nest",source_type="stack",target_type="module", height_offset = 700)
# s.transfer("Solo.Position1","Hidex.Nest",source_type="stack",target_type="module", height_offset = 700)

# print(s.get_location_list())

#print(s.get_location_list())

#s.set_location("Sealer.Nest", 117468, 1220, -4748, 4550)
# s.set_location("Sealer.Nest", 117468, 1220, -4748, 4550)

#print(s.get_position())
# print(s.get_position())
# s.delete_location("Temp_Lid_Source_Loc")
# s.delete_location("Temp_Lid_Target_Loc")
# s.delete_location("Temp_Lid_Source_loc")
#s.delete_location("TEST")

# s.delete_location("TEST")

# s.transfer(
# "Hidex.Nest",
Expand All @@ -99,7 +93,6 @@

# print(s.get_location_list())


# s.transfer("Solo.Position1","Hidex.Nest",source_type="stack",target_type="module", height_offset=700)
# s.transfer("Hidex.Nest","Solo.Position1",source_type="module",target_type="stack", height_offset=650)
# #s.transfer("Solo.Position1","Hidex.Nest",source_type="stack",target_type="module", height_offset=700)
Expand All @@ -115,7 +108,7 @@
# s.transfer("Hidex.Nest","LidNest1",source_type="module",target_type="stack", height_offset=650)

# s.transfer("LidNest1","LidNest2",source_type="stack",target_type="stack")

# s.transfer("LidNest2","LidNest3",source_type="stack",target_type="stack")

# s.transfer("LidNest3","Stack1",source_type="stack",target_type="stack")
Expand All @@ -132,24 +125,22 @@
# old sealer nest 28:SealerNest, 210256, -1050, 491, 5730


# Hidex positions test
# s.transfer("Solo.Position2","Hidex.Nest",source_type="stack",target_type="module", height_offset=700)
# s.transfer("Hidex.Nest","Solo.Position1",source_type="module",target_type="stack", height_offset=650)
# s.transfer("Solo.Position1","Hidex.Nest",source_type="stack",target_type="module", height_offset=700)
# s.transfer("Hidex.Nest","Solo.Position2",source_type="module",target_type="stack", height_offset=650)


# Hidex positions test
# s.transfer("Solo.Position2","Hidex.Nest",source_type="stack",target_type="module", height_offset=700)
# s.transfer("Hidex.Nest","Solo.Position1",source_type="module",target_type="stack", height_offset=650)
# s.transfer("Solo.Position1","Hidex.Nest",source_type="stack",target_type="module", height_offset=700)
# s.transfer("Hidex.Nest","Solo.Position2",source_type="module",target_type="stack", height_offset=650)


# Hidex position test
# s.transfer("Peeler.Nest","Hidex.Nest",source_type="stack",target_type="module", height_offset=700)
# s.transfer("Hidex.Nest","Solo.Position1",source_type="module",target_type="stack", height_offset=650)
# Hidex position test
# s.transfer("Peeler.Nest","Hidex.Nest",source_type="stack",target_type="module", height_offset=700)
# s.transfer("Hidex.Nest","Solo.Position1",source_type="module",target_type="stack", height_offset=650)

# s.transfer("Solo.Position1","Hidex.Nest",source_type="stack",target_type="module", height_offset=700)
# s.transfer("Hidex.Nest","Solo.Position2",source_type="module",target_type="stack", height_offset=650)
# s.transfer("Solo.Position1","Hidex.Nest",source_type="stack",target_type="module", height_offset=700)
# s.transfer("Hidex.Nest","Solo.Position2",source_type="module",target_type="stack", height_offset=650)

# s.transfer("Solo.Position2","Hidex.Nest",source_type="stack",target_type="module", height_offset=700)
# s.transfer("Hidex.Nest","Peeler.Nest",source_type="module",target_type="stack", height_offset=650)
# s.transfer("Solo.Position2","Hidex.Nest",source_type="stack",target_type="module", height_offset=700)
# s.transfer("Hidex.Nest","Peeler.Nest",source_type="module",target_type="stack", height_offset=650)


# ----------------------------------------------------------------------------------------------------------------------------------------
Expand All @@ -159,16 +150,14 @@
# a = s.get_position()
# s.set_location("LidNest3",R=231449,Z=-31500,P=484,Y=-306)

# s.transfer("Solo.Position1","Hidex.Nest",source_type="stack",target_type="module", height_offset=700)
# s.transfer("Hidex.Nest","Solo.Position2",source_type="module",target_type="stack", height_offset=650)

# s.transfer("Solo.Position2","Hidex.Nest",source_type="stack",target_type="module", height_offset=700)
# s.transfer("Hidex.Nest","Peeler.Nest",source_type="module",target_type="stack", height_offset=650)

# s.transfer("Peeler.Nest","Hidex.Nest",source_type="stack",target_type="module", height_offset=700)
# s.transfer("Hidex.Nest","Solo.Position1",source_type="module",target_type="stack", height_offset=650)
# s.transfer("Solo.Position1","Hidex.Nest",source_type="stack",target_type="module", height_offset=700)
# s.transfer("Hidex.Nest","Solo.Position2",source_type="module",target_type="stack", height_offset=650)

# s.transfer("Solo.Position2","Hidex.Nest",source_type="stack",target_type="module", height_offset=700)
# s.transfer("Hidex.Nest","Peeler.Nest",source_type="module",target_type="stack", height_offset=650)

# s.transfer("Peeler.Nest","Hidex.Nest",source_type="stack",target_type="module", height_offset=700)
# s.transfer("Hidex.Nest","Solo.Position1",source_type="module",target_type="stack", height_offset=650)


# s.place_module_plate()
Expand Down

0 comments on commit ac28c59

Please sign in to comment.