Skip to content

Commit 25d034b

Browse files
committed
More verbose
1 parent 356de3e commit 25d034b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pyneuroml/pynml.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2419,7 +2419,9 @@ def execute_command_in_dir_with_realtime_output(
24192419
if os.name == "nt":
24202420
directory = os.path.normpath(directory)
24212421

2422-
logger.info("Executing: (%s) in directory: %s" % (command, directory))
2422+
print("####################################################################")
2423+
print("# pyNeuroML executing: (%s) in directory: %s" % (command, directory))
2424+
print("####################################################################")
24232425
if env is not None:
24242426
logger.info("Extra env variables %s" % (env))
24252427

@@ -2436,8 +2438,10 @@ def execute_command_in_dir_with_realtime_output(
24362438
)
24372439
with p.stdout:
24382440
for line in iter(p.stdout.readline, ""):
2439-
logger.debug(line.strip())
2441+
print("# %s"%line.strip())
24402442
p.wait() # wait for the subprocess to exit
2443+
2444+
print("####################################################################")
24412445
except KeyboardInterrupt as e:
24422446
logger.error("*** Command interrupted: \n %s" % command)
24432447
if p:

0 commit comments

Comments
 (0)