Skip to content

Commit

Permalink
add pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Klaus Weinbauer committed Mar 12, 2024
1 parent a305adc commit 78e729a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
1 change: 0 additions & 1 deletion fgutils/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ def _query(nodes: list[FGTreeNode], graph, idx, checked_groups = []):
groups = []
for atom_id in fg_candidate_ids:
fg_groups, fg_indices = _query(roots, graph, atom_id)
print("Check atom {} | Groups: {} Indices: {}".format(atom_id, fg_groups, fg_indices))
if len(fg_groups) > 0:
for _group, _indices in zip(fg_groups, fg_indices):
assert atom_id in _indices
Expand Down
25 changes: 25 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "fgutils"
version = "0.0.4"
authors = [{name="Klaus Weinbauer", email="klaus@bioinf.uni-leipzig.de"}]
description = "Library to get functional groups from molecular graphs."
readme = "README.md"
requires-python = ">=3.11"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"numpy>=1.26.3",
"networkx>=3.2.1",
]

[project.urls]
homepage = "https://github.com/klausweinbauer/FGUtils"
source = "https://github.com/klausweinbauer/FGUtils"
issues = "https://github.com/klausweinbauer/FGUtils/issues"

0 comments on commit 78e729a

Please sign in to comment.