HajimeKawahara/exojax

View on GitHub
Yui's comments reflected #598
Hajime Kawahara authored 5b666095
complete00:00:18
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
No errors or warnings found in .codeclimate.json.
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-12-24T12:32:44.998820 #1]  INFO -- : Skipping file ./documents/tutorials/jupiters/miegrid_generate.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 14
    plt.text(fsed, np.nanmean(rg_layer), f"{Kzz:.1e}")
                                                    ^
SyntaxError: invalid syntax


I, [2024-12-24T12:32:45.172284 #1]  INFO -- : Skipping file ./src/exojax/utils/progbar.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
    print(f"\r{desc}|{bar}| {progress:.0%}", end="")
                                          ^
SyntaxError: invalid syntax


I, [2024-12-24T12:32:45.216878 #1]  INFO -- : Skipping file ./src/exojax/utils/molname.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 189
    [f"{key}{value}" if value > 1 else key for key, value in result.items()]
                   ^
SyntaxError: invalid syntax


I, [2024-12-24T12:32:45.244260 #1]  INFO -- : Skipping file ./src/exojax/utils/zsol.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 127
    f"database {database} is not available. Available databases are {available_databases.keys()}"
                                                                                                ^
SyntaxError: invalid syntax


I, [2024-12-24T12:32:45.255334 #1]  INFO -- : Skipping file ./src/exojax/utils/mollabel.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 73
    latex_molecule = f"$\\mathrm{{{formatted_molecule}}}$"
                                                         ^
SyntaxError: invalid syntax


I, [2024-12-24T12:32:45.283238 #1]  INFO -- : Skipping file ./src/exojax/utils/files.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 20
    pattern = f"{directory_path}/*{extension}"
                                             ^
SyntaxError: invalid syntax


I, [2024-12-24T12:32:45.444938 #1]  INFO -- : Skipping file ./src/exojax/atm/atmphys.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 55
    f"{temp_type} temperature {temperature} K is {comparison} than {temp_type}(vfactor t range) {limit} K"
                                                                                                         ^
SyntaxError: invalid syntax