outputpath again
This commit is contained in:
parent
399f490b98
commit
03575af39b
@ -370,11 +370,12 @@ if __name__ == "__main__":
|
||||
return info
|
||||
|
||||
def get_pads(groupinfo=None):
|
||||
pads = padids_from_path(args.pubpath)
|
||||
pads = padids_from_path(os.path.join(args.outputpath, args.pubpath))
|
||||
pads = [augment_info(x, groupinfo) for x in pads]
|
||||
# print (("padids_from_path", args.pubpath, pads), file=sys.stderr)
|
||||
if not args.exclude_groups and os.path.exists(args.grouppath):
|
||||
groups = [os.path.join(args.grouppath, x) for x in os.listdir(args.grouppath)]
|
||||
gp = os.path.join(args.outputpath, args.grouppath)
|
||||
if not args.exclude_groups and gp:
|
||||
groups = [os.path.join(gp, x) for x in os.listdir(gp)]
|
||||
groups = [x for x in groups if os.path.isdir(x)]
|
||||
groups.sort()
|
||||
for gp in groups:
|
||||
|
Loading…
Reference in New Issue
Block a user