Skip to content

Commit 2cd8244

Browse files
committed
chore: move import to the top and edit description
1 parent 540769b commit 2cd8244

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

src/diffpy/cmi/app.py

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
11
import getopt
22
import sys
33

4+
from diffpy.cmi.version import __version__
5+
46

57
def usage():
68
"""Print short help message."""
79
print(
810
"""\
911
10-
DiffPy-CMI is our complex modeling framework. It is a highly flexible library
11-
of Python modules for robust modeling of nanostructures in crystals,
12-
nanomaterials, and amorphous materials.
12+
Welcome to diffpy-CMI, a complex modeling infrastructure
13+
designed for multi-modal analysis of scientific data.
14+
While broadly applicable to a wide range of problems,
15+
including those beyond materials science, diffpy-CMI currently
16+
provides robust tools for modeling atomic structure based on
17+
Pair Distribution Function (PDF) and Small-Angle Scattering (SAS) data.
18+
Its modular Python architecture enables extensible workflows,
19+
with additional capabilities continually being developed.
1320
1421
Docs: https://www.diffpy.org/diffpy.cmi
1522
@@ -24,8 +31,6 @@ def usage():
2431

2532

2633
def version():
27-
from diffpy.cmi.version import __version__
28-
2934
print(f"diffpy-cmi {__version__}")
3035

3136

0 commit comments

Comments
 (0)