'bam deps' command - working on basic level
This commit is contained in:
@@ -177,6 +177,9 @@ class FilePath:
|
||||
if rootdir is None:
|
||||
rootdir = basedir
|
||||
|
||||
if lib_visit is None:
|
||||
lib_visit = {}
|
||||
|
||||
if recursive and (level > 0) and (block_codes is not None):
|
||||
# prevent from expanding the
|
||||
# same datablock more then once
|
||||
@@ -340,6 +343,12 @@ class FilePath:
|
||||
|
||||
# print("looking for", lib_block_codes)
|
||||
|
||||
if not os.path.exists(lib_path_abs):
|
||||
if VERBOSE:
|
||||
print((indent_str + " "), "Library Missing: ", filepath, " -> ", lib_path_abs, sep="")
|
||||
continue
|
||||
|
||||
|
||||
# import IPython; IPython.embed()
|
||||
if VERBOSE:
|
||||
print((indent_str + " "), "Library: ", filepath, " -> ", lib_path_abs, sep="")
|
||||
|
Reference in New Issue
Block a user