Skip to content

Commit

Permalink
update bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Takshan committed Aug 29, 2024
1 parent 468258c commit 5b71706
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 39 deletions.
44 changes: 44 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,47 @@ include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true


[project]

name = "RahulScripts"
version = "0.0.2"
description = "Some daily used scripts"
readme = "README.md"
license = {file = "LICENSE"}
keywords = ["rahul", "scripts", "genomics", "class"]
authors = [
{name = "Rahul Brahma", email = "rahul@drugonix.com"}
]

classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Build Tools",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy"
]

dependencies=[
"numpy",
"ipywidgets",

]

[project.optional-dependencies]


[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
7 changes: 7 additions & 0 deletions rahulscripts/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
from .__version__ import __version__


from .download import *
from .external import *
from .utils import *
from .metrics import *



print(f"Package v: {__version__}")
print("===============================================")
2 changes: 1 addition & 1 deletion rahulscripts/metrics/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from custom_metrics import *
from .custom_metrics import *
13 changes: 12 additions & 1 deletion rahulscripts/utils/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,18 @@
import tqdm
from IPython.core.display import HTML
from IPython.display import IFrame, clear_output, display
from openbabel import pybel


# check if openbabel is installed
try:
from openbabel import pybel
except ImportError:
print("OpenBabel is not installed. Please install it otherwise some functions will not work.")
command="conda install conda-forge::openbabel"
print(f"Run this command to install openbabel: {command}")

# raise ImportError("OpenBabel is not installed. Please install it first.")

from rich import print
from rich.console import Console
from rich.style import Style
Expand Down
37 changes: 0 additions & 37 deletions setup.cfg

This file was deleted.

0 comments on commit 5b71706

Please sign in to comment.