Skip to content

Commit

Permalink
Show lib path with corneto.info()
Browse files Browse the repository at this point in the history
  • Loading branch information
pablormier committed Jul 20, 2024
1 parent f977df0 commit 63231b3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions corneto/_util.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import hashlib
import pickle
import os
from collections import OrderedDict
from itertools import filterfalse
from typing import Any, Callable, Dict, Iterable, Optional, Set, TypeVar
Expand Down Expand Up @@ -139,6 +140,12 @@ def _get_info() -> Dict[str, Dict]:
info["graphviz_version"]["value"] = graphviz.__version__
except Exception:
pass

info["installed_path"] = {
"title": "Installed path",
"message": os.path.dirname(__file__),
"value": os.path.dirname(__file__)
}
info["repo_url"] = {
"title": "Repository",
"message": "https://github.com/saezlab/corneto",
Expand Down

0 comments on commit 63231b3

Please sign in to comment.