Skip to content

Commit 41e5fa3

Browse files
committed
debug
1 parent caa2c22 commit 41e5fa3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

BRB/PushButton.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -617,14 +617,15 @@ def GetResults(config, project, libraries):
617617
skipList = []
618618
external_skipList = []
619619
org_dict = {}
620+
print(libraries)
620621
for library, v in libraries.items():
621622
sampleName, libraryType, libraryProtocol, organism, indexType, requestDepth = v
622623
org_name, org_label, org_yaml = organism
623624
# Extra checks to see where we miss out
624625
if libraryType in validLibraryTypes:
625-
log.info(f"ValidLibraryType = {libraryType}")
626+
log.info(f"ValidLibraryType for sample {library} = {libraryType}")
626627
else:
627-
log.info(f"Not a ValidLibraryType = {libraryType}")
628+
log.info(f"Not a ValidLibraryType for sample {library} = {libraryType}")
628629
if not (org_label or org_yaml):
629630
log.info(f"Species label or YAML was not set for {org_name} (check Parkour DB.)")
630631
if libraryType in validLibraryTypes and (org_label or org_yaml) and (ignore==False or libraryType in config.get('external','LibraryTypes')):
@@ -656,6 +657,7 @@ def GetResults(config, project, libraries):
656657
for org_label, v2 in v.items():
657658
log.debug('Running organism label ' + org_label)
658659
organism = org_dict[org_label]
660+
org_name, org_label, org_yaml = organism
659661
log.debug(organism)
660662
for libraryType, tuples in v2.items():
661663
log.debug('Running libraryType ' + libraryType)

0 commit comments

Comments
 (0)