-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Tool fails with message:
Traceback (most recent call last):
File "/opt/production_galaxy/var/shed_tools/toolshed.g2.bx.psu.edu/repos/damion/blast_reporting/812de0e282bd/blast_reporting/blast_reporting.py", line 627, in <module>
reportEngine.__main__()
File "/opt/production_galaxy/var/shed_tools/toolshed.g2.bx.psu.edu/repos/damion/blast_reporting/812de0e282bd/blast_reporting/blast_reporting.py", line 502, in __main__
tagGroup = XMLRecordScan(options, output_format)
File "/opt/production_galaxy/var/shed_tools/toolshed.g2.bx.psu.edu/repos/damion/blast_reporting/812de0e282bd/blast_reporting/blast_reporting.py", line 220, in __init__
self.binManager.build_bins(options.reference_bins, self.columns)
File "/opt/production_galaxy/var/shed_tools/toolshed.g2.bx.psu.edu/repos/damion/blast_reporting/812de0e282bd/blast_reporting/reference_bins.py", line 48, in build_bins
newbin = self.buildBin(field_name, bin_filter)
File "/opt/production_galaxy/var/shed_tools/toolshed.g2.bx.psu.edu/repos/damion/blast_reporting/812de0e282bd/blast_reporting/reference_bins.py", line 93, in buildBin
stop_err("Reference bin could not be found or opened: " + self.path + bin_folder_name + '/accession_ids.tab')
NameError: global name 'stop_err' is not defined
Other references to stop_err
are prefixed by the module name common
:
blast_reporting/reference_bins.py
Line 34 in 608404b
common.stop_err("Invalid bin name: " + field_name + ':' + myfield) |
If stop_err
is replaced with common.stop_err
on reference_bins.py
line 93 then this error is produced:
Traceback (most recent call last):
File "/opt/production_galaxy/var/shed_tools/toolshed.g2.bx.psu.edu/repos/damion/blast_reporting/812de0e282bd/blast_reporting/blast_reporting.py", line 627, in <module>
reportEngine.__main__()
File "/opt/production_galaxy/var/shed_tools/toolshed.g2.bx.psu.edu/repos/damion/blast_reporting/812de0e282bd/blast_reporting/blast_reporting.py", line 502, in __main__
tagGroup = XMLRecordScan(options, output_format)
File "/opt/production_galaxy/var/shed_tools/toolshed.g2.bx.psu.edu/repos/damion/blast_reporting/812de0e282bd/blast_reporting/blast_reporting.py", line 220, in __init__
self.binManager.build_bins(options.reference_bins, self.columns)
File "/opt/production_galaxy/var/shed_tools/toolshed.g2.bx.psu.edu/repos/damion/blast_reporting/812de0e282bd/blast_reporting/reference_bins.py", line 48, in build_bins
newbin = self.buildBin(field_name, bin_filter)
File "/opt/production_galaxy/var/shed_tools/toolshed.g2.bx.psu.edu/repos/damion/blast_reporting/812de0e282bd/blast_reporting/reference_bins.py", line 93, in buildBin
common.stop_err("Reference bin could not be found or opened: " + self.path + bin_folder_name + '/accession_ids.tab')
AttributeError: ReferenceBins instance has no attribute 'path'
Metadata
Metadata
Assignees
Labels
No labels