Skip to content

Commit

Permalink
v3.2.7: minor improvement in error handling and messages
Browse files Browse the repository at this point in the history
  • Loading branch information
gfursin committed Oct 23, 2024
1 parent 86478f2 commit c98e246
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cm/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## V3.2.6.1
- improved error messages
## V3.2.7
- minor improvement in error handling and messages

## V3.2.6
- Fix type of "unknown_keys" to list to be serializable
Expand Down
2 changes: 1 addition & 1 deletion cm/cmind/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# Written by Grigori Fursin

__version__ = "3.2.6.1"
__version__ = "3.2.7"

from cmind.core import access
from cmind.core import x
Expand Down
15 changes: 15 additions & 0 deletions cm/cmind/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,21 @@ def run_experiment(argv = None):

return run(['run', 'experiment'] + argv)

############################################################
def run_ff(argv = None):
"""
"""

# Access CMX
if argv is None:
argv = sys.argv[1:]

x = 'lex'
if len(argv) >0 and argv[0].startswith('_misc'):
x = argv[0]

return runx(['run', 'f'+x+'.flow'] + argv)

############################################################
def parse(cmd):
"""
Expand Down
3 changes: 2 additions & 1 deletion cm/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,11 @@ def run(self):
"cm = cmind.cli:run",
"cmx = cmind.cli:runx",
"cmr = cmind.cli:run_script",
"fflow = cmind.cli:run_ff",
"cmrd = cmind.cli:docker_script",
"cmg = cmind.cli:gui_script",
"cme = cmind.cli:run_experiment"
]},
]},

zip_safe=False,

Expand Down

0 comments on commit c98e246

Please sign in to comment.