gems-uff / noworkflow

Supporting infrastructure to run scientific experiments without a scientific workflow management system.
http://gems-uff.github.io/noworkflow
MIT License
120 stars 28 forks source link

Erro ao executar now run #154

Open anaeletrica opened 5 months ago

anaeletrica commented 5 months ago

Ao executar o script https://github.com/gems-uff/pypofacets/blob/master/modular_pypofacets.py) pela linha de comando:

now run modular_pypofacets.py BOX input_data_file_002.dat

Retorna o seguinte erro: [now] TypeError("unsupported operand type(s) for +=: 'int' and 'NoneType'") the execution finished with an uncaught exception. Traceback (most recent call last): File "C:\Users\rita\Documents\bla\myenv\lib\site-packages\noworkflow-2.0.0-py3.7.egg\noworkflow\now\collection\prov_execution\execution.py", line 64, in collect_provenance exec(compiled, metascript.namespace) # pylint: disable=exec-used File "C:\Users\rita\Documents\bla\PyPOFacets\modular_pypofacets.py", line 212, in calculate_spherical_coordinate_system_radial_unit_vector(i2s, D0, output_dir) File "C:\Users\rita\Documents\bla\myenv\lib\site-packages\noworkflow-2.0.0-py3.7.egg\noworkflow\now\collection\prov_execution\collector.py", line 1207, in _call result = future.func(*args, *kwargs) File "C:\Users\rita\Documents\bla\myenv\lib\site-packages\noworkflow-2.0.0-py3.7.egg\noworkflow\now\collection\prov_execution\collector.py", line 1371, in new_function_def activation, function_def, args, kwargs, default_values, defaults, args, **kwargs File "C:\Users\rita\Documents\bla\PyPOFacets\modular_pypofacets.py", line 165, in calculate_spherical_coordinate_system_radial_unit_vector File "C:\Users\rita\Documents\bla\myenv\lib\site-packages\noworkflow-2.0.0-py3.7.egg\noworkflow\now\collection\prov_execution\collector.py", line 1122, in assign return self.assign_multiple(activation, assign, target_info, depa, ldepa, back + 1) File "C:\Users\rita\Documents\bla\myenv\lib\site-packages\noworkflow-2.0.0-py3.7.egg\noworkflow\now\collection\prov_execution\collector.py", line 1066, in assign_multiple activation, assign, target_info, custom_dependency, back + 1 File "C:\Users\rita\Documents\bla\myenv\lib\site-packages\noworkflow-2.0.0-py3.7.egg\noworkflow\now\collection\prov_execution\collector.py", line 1083, in assign_multiple_apply delta += self.assign(activation, assign.sub(val, adepa), subcomp, back + 1) TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType'