Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into scripts-review
Browse files Browse the repository at this point in the history
  • Loading branch information
jburel committed Nov 30, 2016
2 parents e2553d5 + 24afb65 commit e32e957
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions analysis_scripts/Shapes_To_Table.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,5 +207,6 @@ def runAsScript():
finally:
client.closeSession()


if __name__ == "__main__":
runAsScript()
1 change: 1 addition & 0 deletions analysis_scripts/Simple_FRAP.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,5 +296,6 @@ def runAsScript():
finally:
client.closeSession()


if __name__ == "__main__":
runAsScript()
1 change: 1 addition & 0 deletions metadata_scripts/Copy_And_Paste_Tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def copyAndPasteTags(conn, scriptParams):
print "** Tag:", t.getValue(), " already on ", \
obj.OMERO_CLASS, obj.getName()


client = scripts.client(
'Copy_And_Paste_Tags.py',
"""Copy Tags from Datasets or Images and apply them to the \
Expand Down
1 change: 1 addition & 0 deletions metadata_scripts/Metadata_Search.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,5 +217,6 @@ def runScript():
finally:
client.closeSession()


if __name__ == "__main__":
runScript()
2 changes: 2 additions & 0 deletions processing_scripts/Transform_Image.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def flipHorizontal(plane):
def flipVertical(plane):
return flipud(plane)


# The transforms that we support
actions = {"Rotate_Left": rotate90,
"Rotate_180": rotate180,
Expand Down Expand Up @@ -202,5 +203,6 @@ def runAsScript():
finally:
client.closeSession()


if __name__ == "__main__":
runAsScript()

0 comments on commit e32e957

Please sign in to comment.