Skip to content

Commit

Permalink
Set default reorder to inertia-hungarian.
Browse files Browse the repository at this point in the history
  • Loading branch information
hmcezar committed Jan 11, 2025
1 parent 6c04677 commit 928bf84
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion clusttraj/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from .main import main

__version__ = "0.3.2"
__version__ = "0.3.3"

__all__ = [
"main",
Expand Down
6 changes: 3 additions & 3 deletions clusttraj/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,9 +291,9 @@ def configure_runtime(args_in: List[str]) -> ClustOptions:
parser.add_argument(
"--reorder-alg",
action="store",
default="hungarian",
default="inertia-hungarian",
metavar="METHOD",
help="select which reorder algorithm to use; hungarian (default), brute, distance, qml. Warning: brute is VERY slow)",
help="select which reorder algorithm to use; inertia-hungarian (default), hungarian, brute, distance, qml. Warning: brute is VERY slow",
)
parser.add_argument(
"-ns",
Expand Down Expand Up @@ -396,7 +396,7 @@ def configure_runtime(args_in: List[str]) -> ClustOptions:
]:
parser.error(f"The method you selected with -m ({args.method}) is not valid.")

if args.reorder_alg not in ["hungarian", "brute", "distance", "qml"]:
if args.reorder_alg not in ["inertia-hungarian", "hungarian", "brute", "distance", "qml"]:
parser.error(
f"The reorder method you selected with --reorder-method ({args.reorder_alg}) is not valid."
)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
numpy
rmsd>=1.6.0
rmsd>=1.6.3
scipy
scikit-learn
matplotlib
Expand Down

0 comments on commit 928bf84

Please sign in to comment.