Closed thomasyu888 closed 3 years ago
fixes #212 This was run with python 3.7.6
urllib.urlopen
urllib.request.urlopen
with open(file, "rU"):
oncotree_code = lists_of_all_ancestors[0][min_length - 1]
TypeError: 'dict_values' object is not subscriptable
TypeError: unsupported operand type(s) for >>: 'builtin_function_or_method' and '_io.TextIOWrapper'. Did you mean "print(<message>, file=<output_stream>)"
Not sure why the tests are failing, but would be happy to fix.
@sheridancbio . Thoughts of this?
This work has been incorporated into the master branch (with adjustments) via PR #233
fixes #212 This was run with python 3.7.6
urllib.urlopen
is no longer a thing in python3. It isurllib.request.urlopen
oncotree_code = lists_of_all_ancestors[0][min_length - 1]
TypeError: unsupported operand type(s) for >>: 'builtin_function_or_method' and '_io.TextIOWrapper'. Did you mean "print(<message>, file=<output_stream>)"