Skip to content

Commit

Permalink
project name change
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Ley committed Jan 20, 2023
1 parent 6c2aa7b commit 61cd35d
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ before_install:
install:
- pip install -r requirements.txt

script: python3 src/ontoviz/app.py || python src/ontoviz/app.py
script: python3 src/ontoloviz/app.py || python src/ontoloviz/app.py
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
[![image](https://img.shields.io/pypi/v/ontoviz-bio.svg)](https://pypi.python.org/pypi/ontoviz-bio)
[![image](https://img.shields.io/pypi/v/OntoloViz.svg)](https://pypi.python.org/pypi/ontoloviz)

OntoloViz
=========

OntoloViz is a graphical user interface for the creation of interactive sunburst plots of phenotype and drug ontologies.
You might find it useful to quickly visualize your data for reports or to share the generated plots with collaborators.
Take a look at the [screenshot section](#screenshots) or explore examples in `.html` format from the
provided [templates.zip](https://github.com/Mnikley/OntoViz/releases/download/v1.0.3/templates.zip) archive to get a
provided [templates.zip](https://github.com/Mnikley/OntoloViz/releases/download/v1.0.3/templates.zip) archive to get a
better understanding of the scope of the package.

Quickstart
==========
The GUI can be run by downloading the latest [Windows release](https://github.com/Mnikley/OntoViz/releases)
The GUI can be run by downloading the latest [Windows release](https://github.com/Mnikley/OntoloViz/releases)
or by installing and running the package via PyPi (OS independent, requires **Python 3.10+**):

pip install ontoviz-bio
python -c "from ontoviz import run_app; run_app()"
pip install ontoloviz
python -c "from ontoloviz import run_app; run_app()"

Alternatively, you can clone this repository, install the required dependencies and launch the GUI:

git clone https://github.com/Mnikley/OntoViz.git
cd OntoViz
git clone https://github.com/Mnikley/OntoloViz.git
cd OntoloViz
pip install -r requirements.txt
python src/ontoviz/app.py
python src/ontoloviz/app.py

Usage
=====
Expand Down Expand Up @@ -135,7 +135,7 @@ Screenshots
Templates and Examples
======================
Templates and examples can be found in the provided
[templates.zip](https://github.com/Mnikley/OntoViz/releases/download/v1.0.3/templates.zip) archive.
[templates.zip](https://github.com/Mnikley/OntoloViz/releases/download/v1.0.3/templates.zip) archive.

- `pubmed_documents_mapped_to_mesh.tsv`: based on the [MeSH](https://meshb.nlm.nih.gov/treeView) subtree `C` from 2022.
Disease-related MeSH terms were extracted from the publicly available [PubMed](https://pubmed.ncbi.nlm.nih.gov/)
Expand Down
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ requires = ["setuptools>=61.0", "et-xmlfile>=1.1.0", "openpyxl>=3.0", "plotly>=5
build-backend = "setuptools.build_meta"

[project]
name = "ontoviz-bio"
name = "ontoloviz"
version = "1.3.1"
authors = [
{ name="Matthias Ley", email="[email protected]" },
]
description = "Drug- and phenotype-ontology visualization GUI"
description = "OntoloViz drug- and phenotype-ontology visualization GUI"
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
Expand All @@ -18,5 +18,6 @@ classifiers = [
]

[project.urls]
"Homepage" = "https://github.com/Mnikley/OntoViz"
"Bug Tracker" = "https://github.com/Mnikley/OntoViz/issues"
"Homepage" = "https://github.com/Mnikley/OntoloViz"
"Bug Tracker" = "https://github.com/Mnikley/OntoloViz/issues"
"Releases" = "https://github.com/Mnikley/OntoloViz/releases"
File renamed without changes.
6 changes: 3 additions & 3 deletions src/ontoviz/app.py → src/ontoloviz/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from tkinter import Label as LabelOG
from tkinter import Entry as EntryOG
from tkinter.ttk import LabelFrame, Frame, Style
from ontoviz.core import PhenotypeSunburst, DrugSunburst, rgb_to_hex, hex_to_rgb
from ontoloviz.core import PhenotypeSunburst, DrugSunburst, rgb_to_hex, hex_to_rgb
from threading import Thread
import time
import textwrap
Expand Down Expand Up @@ -146,7 +146,7 @@ class App(Tk):
def __init__(self):
"""Main App Initialization"""
super().__init__()
self.title("Ontology Explorer")
self.title("OntoloViz GUI")
# self.iconbitmap("logo.ico")
# self.wm_minsize(width=400, height=290)

Expand Down Expand Up @@ -1587,7 +1587,7 @@ def set(self):


def run_app():
print("Launching Ontology Explorer GUI ..")
print("Launching OntoViz Ontology Explorer GUI ..")
app = App()


Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/ontoviz/core/core.py → src/ontoloviz/core/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1569,7 +1569,7 @@ def plot(self):
def show_help():
print(" DrugVision - Minimal Reproducible Examples ".center(120, "-"))
print('''
from ontoviz.core import PhenotypeSunburst, DrugSunburst
from ontoloviz.core import PhenotypeSunburst, DrugSunburst
""" phenotype sunburst with connected database """
p = PhenotypeSunburst()
Expand Down

0 comments on commit 61cd35d

Please sign in to comment.