Skip to content

2.99.67 Version ctest test py-compile failed SyntaxError: invalid syntax #577

@lillianokok

Description

@lillianokok

hi When I was testing version 2.99.57, there was an error in progs. It was an error fragment:

ctest -E "progs" -V -VV --debuge
UpdateCTestConfiguration from :/home/stage/root/spack-stage-eman2-2.99.67-dmkapzqpe6ybe3sx3vfdaq75rggl7v75/spack-build-dmkapzq/DartConfiguration.tcl
UpdateCTestConfiguration from :/home/stage/root/spack-stage-eman2-2.99.67-dmkapzqpe6ybe3sx3vfdaq75rggl7v75/spack-build-dmkapzq/DartConfiguration.tcl
Test project /home/stage/root/spack-stage-eman2-2.99.67-dmkapzqpe6ybe3sx3vfdaq75rggl7v75/spack-build-dmkapzq
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 1
Start 1: py-compile

1: Test command: /home/spack/opt/spack/linux-debian10-aarch64/gcc-8.3.0/python-3.8.8-2teergbqi4xrvcbwruvpqsga4v5osokp/bin/python3.8 "-m" "compileall" "-q" "-x" ".git" "-x" "sparx" "-x" "sphire" "/home/stage/root/spack-stage-eman2-2.99.67-dmkapzqpe6ybe3sx3vfdaq75rggl7v75/spack-src"
1: Test timeout computed to be: 10000000
1: *** Error compiling '/home/stage/root/spack-stage-eman2-2.99.67-dmkapzqpe6ybe3sx3vfdaq75rggl7v75/spack-src/programs/e2gmm.py'...
1: File "/home/stage/root/spack-stage-eman2-2.99.67-dmkapzqpe6ybe3sx3vfdaq75rggl7v75/spack-src/programs/e2gmm.py", line 2293
1: er=run(f"e2gmm_refine_point.py --projs {self.gmm}/particles_subset.lst --decoderentropy --npt {self.currun['ngauss']} --sym {sym} --maxboxsz {maxbox} --minressz {minboxp} --model {modelseg} --modelout {modelout} --niter 20 --nmid {self.currun['dim']} --evalmodel {self.gmm}/{self.currunkey}_model_projs.hdf --evalsize {self.jsparm['boxsize']} --decoderout {decoder} {conv} --ampreg 0.02 --ptclsclip {self.jsparm['boxsize']} --net_style {self.currun["net_style"]}")
1: ^
1: SyntaxError: invalid syntax
1:
1: *** Error compiling '/home/stage/root/spack-stage-eman2-2.99.67-dmkapzqpe6ybe3sx3vfdaq75rggl7v75/spack-src/programs/e3relion_convert.py'...
1: File "/home/stage/root/spack-stage-eman2-2.99.67-dmkapzqpe6ybe3sx3vfdaq75rggl7v75/spack-src/programs/e3relion_convert.py", line 239
1: try: img=EMData(f"{options.datapath}/{imfsp.split("/")[-1]}",imn-1)
1: ^
1: SyntaxError: f-string: unmatched '('
1:
1/5 Test #1: py-compile .......................***Failed 0.16 sec
test 2
Start 2: imports

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions