Skip to content
This repository has been archived by the owner on Feb 9, 2020. It is now read-only.

Commit

Permalink
Merge pull request #14 from ManuSetty/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ManuSetty authored Jun 16, 2016
2 parents 43a9647 + 32724fa commit 0b291ce
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


setup(name='wishbone',
version='0.2.3',
version='0.2.4',
description='Wishbone algorithm for identifying bifurcating trajectories from single-cell data',
author='Manu Setty',
author_email='[email protected]',
Expand Down
2 changes: 1 addition & 1 deletion src/wishbone/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
from . import wishbone_gui
from . import autocomplete_entry

__version__ = "0.2.3"
__version__ = "0.2.4"
16 changes: 8 additions & 8 deletions src/wishbone/wishbone_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,17 +459,17 @@ def quitWB(self):

def launch():
app = wishbone_gui(None)
if platform.system() == 'Darwin':
os.system('''/usr/bin/osascript -e 'tell app "Finder" to set frontmost of process "python" to true' ''')
elif platform.system() == 'Windows':

if platform.system() == 'Darwin':
os.system('''/usr/bin/osascript -e 'tell app "Finder" to set frontmost of process "python" to true' ''')
elif platform.system() == 'Windows':
app.lift()
app.call('wm', 'attributes', '.', '-topmost', True)
app.after_idle(app.call, 'wm', 'attributes', '.', '-topmost', False)
elif platform.system() == 'Linux':
app.focus_force()
app.title('Wishbone')
elif platform.system() == 'Linux':
app.focus_force()

app.title('Wishbone')
app.mainloop()

if __name__ == "__main__":
Expand Down

0 comments on commit 0b291ce

Please sign in to comment.