Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Nov 23, 2024
1 parent e56153f commit 7aafa78
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion python/sdist/amici/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@

import sys

from . import __version__, compiledWithOpenMP, has_clibs, hdf5_enabled
from . import (
__version__,
compiledWithOpenMP,
has_clibs,
hdf5_enabled,
CpuTimer,
)


def print_info():
Expand All @@ -20,6 +26,9 @@ def print_info():
if hdf5_enabled:
features.append("HDF5")

if CpuTimer.uses_thread_clock:
features.append("thread_clock")

print(
f"AMICI ({sys.platform}) version {__version__} ({','.join(features)})"
)
Expand Down

0 comments on commit 7aafa78

Please sign in to comment.