KarrLab/datanator_query_python

View on GitHub
merge step 1 #437
Zhouyang Lian authored 4190a08c
complete00:00:11
Your first build completed successfully!

Congratulations

Your first build completed successfully!

See the Results

1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
No checked in config: nothing to validate.
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-04-23T23:39:12.987090 #1]  INFO -- : Skipping file ./datanator_query_python/query/query_pax.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 92
    def get_file_by_name(self, file_name: list, projection={'_id': 0}, collation=None) -> list:
                                        ^
SyntaxError: invalid syntax


I, [2024-04-23T23:39:13.436878 #1]  INFO -- : Skipping file ./datanator_query_python/query_schema_2/query_taxon_tree_v2.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 13
    async def get_canon_ancestor(self, _id, _format='tax_id'):
            ^
SyntaxError: invalid syntax