Error for alter : AttributeError: 'Namespace' object has no attribute 'times'
In my linux environnement I can't use alter
script because of a missing times
option.
Telemac script call
bash script_telemac_env.sh /home/jmkerloch/Downloads/Installation_Telemac-Mascaret/telemac-mascaret/configs/pysource.S10.gfortran.dyn.sh python3 /home/jmkerloch/dev/q4ts/q4ts/salome_script/salome_script.py alter --vars variable 0,variable 4 --force /home/jmkerloch/dev/q4ts/tests/data/simple_mesh/mesh_with_result.slf /tmp/processing_EJRYwk/75e72720133f4259bdf46ca39dfd4ecf/OUTPUT_MESH.slf
Salome available ? False
Telemac available ? True
Traceback (most recent call last):
File "/home/jmkerloch/dev/q4ts/q4ts/salome_script/salome_script.py", line 196, in <module>
main()
File "/home/jmkerloch/dev/q4ts/q4ts/salome_script/salome_script.py", line 185, in main
times=options.times,
AttributeError: 'Namespace' object has no attribute 'times'
I need to remove times=options.times
at line 185 of q4ts/salome_script/salome_script.py
to test in my environnement.
In which version of telemac-mascaret this was implemented ?
I tried to compile telemac-mascaret on my Ubuntu 21.10 but I can't figure out how to configure systel.cfg
.