Pyadditive parametric study writes microstructure results to previous single bead and porosity studies
safeerehman opened this issue Β· comments
safeerehman commented
π Before submitting the issue
- I have searched among the existing issues
- I am using a Python virtual environment
π Description of the bug
Placeholder issue for related TFS bug at 1046011
When importing a csv file containing multiple simulations, the row indices may be repeated. This leads to duplicate entries while updating summaries for completed simulations. All simulations with the same row index have the result written to it along with the result for the relevant simulation.
The fix for this is to reset indices after concatenating the individual simulation types in the ParametricStudy::_remove_duplicate_entries()
method.
π Steps to reproduce
- import multiple csv files in the same study
microstructure-test-study.csv
pending-test-study.csv
single-bead-test-study.csv - see that the indices are not unique
- with the fix, the indices get reset
π» Which operating system are you using?
Windows
π Which ANSYS version are you using?
24.2
π Which Python version are you using?
3.11
π¦ Installed packages
accessible-pygments==0.0.5
aiohttp==3.9.5
aiosignal==1.3.1
alabaster==0.7.16
annotated-types==0.6.0
-e git+https://github.com/ansys/pyadditive.git@9791e30e32526d2331f79c1fc5871109edf72e1e#egg=ansys_additive_core
ansys-api-additive==1.7.2
ansys-api-platform-instancemanagement==1.1.0
ansys-platform-instancemanagement==1.1.2
ansys-sphinx-theme==0.15.2
anyascii==0.3.2
anyio==4.3.0
apeye==1.4.1
apeye-core==1.1.5
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
astroid==3.2.0
asttokens==2.4.1
async-lru==2.0.4
attrs==23.2.0
autodocsumm==0.2.12
Babel==2.15.0
beautifulsoup4==4.12.3
bleach==6.1.0
bokeh==3.4.1
CacheControl==0.14.0
cachetools==5.3.3
certifi==2024.2.2
cffi==1.16.0
cfgv==3.4.0
chardet==5.2.0
charset-normalizer==3.3.2
colorama==0.4.6
comm==0.2.2
contourpy==1.2.1
coverage==7.5.1
cssutils==2.10.2
cycler==0.12.1
debugpy==1.8.1
decorator==5.1.1
defusedxml==0.7.1
dict2css==0.3.0.post1
dill==0.3.8
distlib==0.3.8
docutils==0.20.1
domdf-python-tools==3.8.0.post2
enum-tools==0.12.0
executing==2.0.1
fastjsonschema==2.19.1
filelock==3.14.0
fonttools==4.51.0
fqdn==1.5.1
frozenlist==1.4.1
google-api-core==2.19.0
google-api-python-client==2.122.0
google-auth==2.29.0
google-auth-httplib2==0.2.0
googleapis-common-protos==1.63.0
grpcio==1.60.0
grpcio-health-checking==1.48.2
h11==0.14.0
html5lib==1.1
httpcore==1.0.5
httplib2==0.22.0
httpx==0.27.0
identify==2.5.36
idna==3.7
imageio==2.34.1
imagesize==1.4.1
importlib_metadata==7.1.0
iniconfig==2.0.0
ipykernel==6.29.4
ipython==8.24.0
ipython-genutils==0.2.0
ipywidgets==8.1.2
isoduration==20.11.0
jedi==0.19.1
Jinja2==3.1.4
json5==0.9.25
jsonpointer==2.4
jsonschema==4.22.0
jsonschema-specifications==2023.12.1
jupyter-events==0.10.0
jupyter-lsp==2.2.5
jupyter-sphinx==0.5.3
jupyter_client==8.6.1
jupyter_core==5.7.2
jupyter_server==2.14.0
jupyter_server_terminals==0.5.3
jupyterlab==4.1.8
jupyterlab_pygments==0.3.0
jupyterlab_server==2.27.1
jupyterlab_widgets==3.0.10
kiwisolver==1.4.5
linkify-it-py==2.0.3
Markdown==3.6
markdown-it-py==3.0.0
MarkupSafe==2.1.5
matplotlib==3.8.4
matplotlib-inline==0.1.7
mdit-py-plugins==0.4.0
mdurl==0.1.2
mistune==3.0.2
more-itertools==10.2.0
msgpack==1.0.8
multidict==6.0.5
natsort==8.4.0
nbclient==0.10.0
nbconvert==7.16.4
nbformat==5.10.4
nest-asyncio==1.6.0
nodeenv==1.8.0
notebook==7.1.3
notebook_shim==0.2.4
numpy==1.26.4
numpydoc==1.7.0
outcome==1.3.0.post0
overrides==7.7.0
packaging==24.0
pandas==2.2.2
pandocfilters==1.5.1
panel==1.4.0
param==2.1.0
parso==0.8.4
phantomjs==1.4.1
pillow==10.3.0
platformdirs==4.2.1
plotly==5.22.0
pluggy==1.5.0
pooch==1.8.1
pre-commit==3.7.1
prometheus_client==0.20.0
prompt-toolkit==3.0.43
proto-plus==1.23.0
protobuf==4.25.3
psutil==5.9.8
pure-eval==0.2.2
pyasn1==0.6.0
pyasn1_modules==0.4.0
pycparser==2.22
pydantic==2.7.1
pydantic_core==2.18.2
pydata-sphinx-theme==0.14.4
Pygments==2.18.0
pypandoc==1.13
pyparsing==3.1.2
pyproject-api==1.6.1
PySocks==1.7.1
pytest==8.2.0
pytest-cov==5.0.0
python-dateutil==2.9.0.post0
python-json-logger==2.0.7
pytz==2024.1
pyvista==0.43.7
pyviz_comms==3.0.2
pywin32==306
pywinpty==2.0.13
PyYAML==6.0.1
pyzmq==26.0.3
referencing==0.35.1
requests==2.31.0
rfc3339-validator==0.1.4
rfc3986-validator==0.1.1
rpds-py==0.18.1
rsa==4.9
ruamel.yaml==0.18.6
ruamel.yaml.clib==0.2.8
scooby==0.10.0
selenium==4.19.0
Send2Trash==1.8.3
six==1.16.0
sniffio==1.3.1
snowballstemmer==2.2.0
sortedcontainers==2.4.0
soupsieve==2.5
Sphinx==7.3.7
sphinx-autoapi==3.0.0a4
sphinx-autodoc-typehints==2.1.0
sphinx-copybutton==0.5.2
sphinx-gallery==0.16.0
sphinx-jinja==2.0.2
sphinx-jinja2-compat==0.2.0.post1
sphinx-notfound-page==1.0.0
sphinx-prompt==1.8.0
sphinx-tabs==3.4.5
sphinx-toolbox==3.5.0
sphinx_design==0.5.0
sphinxcontrib-applehelp==1.0.8
sphinxcontrib-devhelp==1.0.6
sphinxcontrib-htmlhelp==2.0.5
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.7
sphinxcontrib-serializinghtml==1.1.10
sphinxemoji==0.3.1
stack-data==0.6.3
tabulate==0.9.0
tenacity==8.3.0
terminado==0.18.1
tinycss2==1.3.0
tornado==6.4
tox==4.15.0
tqdm==4.66.2
traitlets==5.14.3
trame==3.6.0
trame-client==3.0.2
trame-plotly==3.0.2
trame-server==3.0.0
trame-vtk==2.8.8
trame-vuetify==2.5.0
trio==0.25.0
trio-websocket==0.11.1
types-python-dateutil==2.9.0.20240316
typing_extensions==4.11.0
tzdata==2024.1
uc-micro-py==1.0.3
uri-template==1.3.0
uritemplate==4.1.1
urllib3==2.2.1
virtualenv==20.26.1
vtk==9.3.0
wcwidth==0.2.13
webcolors==1.13
webencodings==0.5.1
websocket-client==1.8.0
widgetsnbextension==4.0.10
wslink==2.0.2
wsproto==1.2.0
xyzservices==2024.4.0
yarl==1.9.4
zipp==3.18.1