Use repositoryUri instead of org/repo

This commit is contained in:
Benjamin Groh
2023-01-18 16:40:36 -05:00
parent 04e3dedb77
commit e8123903f6
2 changed files with 2 additions and 4 deletions

View File

@@ -131,11 +131,10 @@ for path in paths:
# Paths and components # Paths and components
# #
path = path.rstrip() path = path.rstrip()
project, component = path.split('/')
# #
# Validate input data directory and content # Validate input data directory and content
# #
output_dir = os.path.join(args.in_dir+project, component + ".scantables") output_dir = os.path.join(args.in_dir+ path + ".scantables")
if not os.path.exists(output_dir): if not os.path.exists(output_dir):
continue continue
if not _all_csv_files_exist(output_dir): if not _all_csv_files_exist(output_dir):

View File

@@ -56,11 +56,10 @@ data = []
for path in paths: for path in paths:
path = path.rstrip() path = path.rstrip()
project, component = path.split('/')
# #
# Validate input data directory and content # Validate input data directory and content
# #
csv_infile = os.path.join(args.in_dir+project, component + ".csv") csv_infile = os.path.join(args.in_dir+ path + ".csv")
if not os.path.exists(csv_infile): if not os.path.exists(csv_infile):
continue continue
else: else: