-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update API and documentation, fixes #35
- Loading branch information
Showing
2 changed files
with
64 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# examples/demo_gui.py | ||
import jpype | ||
import time | ||
from abba_python.abba import Abba | ||
|
||
def main(): | ||
|
||
abba = Abba('Adult Mouse Brain - Allen Brain Atlas V3p1') | ||
abba.show_bdv_ui() | ||
|
||
while jpype.isJVMStarted(): | ||
time.sleep(1) | ||
|
||
print("JVM has shut down") | ||
|
||
|
||
if __name__ == "__main__": | ||
main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters