Skip to content

Commit

Permalink
Add auto-save for parametric study (#74)
Browse files Browse the repository at this point in the history
Co-authored-by: deleon117 <[email protected]>
Co-authored-by: Kerry McAdams <[email protected]>
  • Loading branch information
3 people authored Sep 9, 2023
1 parent d14967c commit 7e87783
Show file tree
Hide file tree
Showing 19 changed files with 576 additions and 784 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ repos:
hooks:
- id: add-license-headers
args:
- --loc=./
- --loc=./
28 changes: 16 additions & 12 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,22 @@ Files: doc/*
Copyright: 2023 ANSYS, Inc. and/or its affiliates.
License: MIT

Files: notebooks/*
Copyright: 2023 ANSYS, Inc. and/or its affiliates.
License: MIT

Files: docker/*
Copyright: 2023 ANSYS, Inc. and/or its affiliates.
License: MIT

Files: LICENSES/*
Copyright: 2023 ANSYS, Inc. and/or its affiliates.
License: MIT

Files: tests/*
Copyright: 2023 ANSYS, Inc. and/or its affiliates.
License: MIT

Files: .flake8
Copyright: 2023 ANSYS, Inc. and/or its affiliates.
License: MIT
Expand All @@ -35,6 +47,10 @@ Files: .pre-commit-config.yaml
Copyright: 2023 ANSYS, Inc. and/or its affiliates.
License: MIT

Files: .pre-commit-hooks.yaml
Copyright: 2023 ANSYS, Inc. and/or its affiliates.
License: MIT

Files: AUTHORS
Copyright: 2023 ANSYS, Inc. and/or its affiliates.
License: MIT
Expand Down Expand Up @@ -66,15 +82,3 @@ License: MIT
Files: tox.ini
Copyright: 2023 ANSYS, Inc. and/or its affiliates.
License: MIT

Files: *.json
Copyright: 2023 ANSYS, Inc. and/or its affiliates.
License: MIT

Files: *.csv
Copyright: 2023 ANSYS, Inc. and/or its affiliates.
License: MIT

Files: *.zip
Copyright: 2023 ANSYS, Inc. and/or its affiliates.
License: MIT
12 changes: 6 additions & 6 deletions .reuse/templates/ansys.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ SPDX-License-Identifier: {{ expression }}


{% if "MIT" in spdx_expressions %}
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
Expand Down
7 changes: 4 additions & 3 deletions doc/source/getting_started/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ Each wheelhouse archive contains all the Python wheels necessary to install PyAd
Linux, and MacOS from Python 3.8 to 3.11. You can unzip and install the wheelhouse archive on an isolated
system with a fresh Python installation or in a virtual environment.

For example, on Linux with Python 3.8, unzip and install the wheelhouse archive with these commands:
For example, on Linux with Python 3.8, unzip then install the wheelhouse archive with these commands:

.. code:: bash
Expand Down Expand Up @@ -312,8 +312,8 @@ The URL for opening JupyterLab in your browser is ``http://localhost:8888/lab``.
be different, but the port number that you should use is listed in the JupyterLab startup messages. You can find
example Jupyter notebooks in the ``examples`` folder of the PyAdditive repository.

pre-commit
==========
A note on ``pre-commit``
^^^^^^^^^^^^^^^^^^^^^^^^

The style checks take advantage of `pre-commit`_. Developers are not forced but
encouraged to install this tool by running this command:
Expand Down Expand Up @@ -362,3 +362,4 @@ the building requirements and then executing the build module:
.. _pytest: https://docs.pytest.org/en/stable/
.. _Sphinx: https://www.sphinx-doc.org/en/master/
.. _tox: https://tox.wiki/

3 changes: 2 additions & 1 deletion doc/styles/Vocab/ANSYS/accept.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ pandoc
Ansys Lab
subpackages
single sign-on
sign-on
sign-on
pre-commmit
2 changes: 1 addition & 1 deletion examples/00_additive_single_bead.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"""
###############################################################################
# Perform required imports and connect
# -----------------------------------
# ------------------------------------
# Perform the required imports and connect to the Additive service.

import matplotlib.pyplot as plt
Expand Down
2 changes: 1 addition & 1 deletion examples/03_additive_thermal_history.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@

###############################################################################
# Specify machine parameters
# ----------------------
# --------------------------
# Specify machine parameters by first creating an ``AdditiveMachine`` object
# and then assigning the desired values. All values are in SI units (m, kg, s, K)
# unless otherwise noted.
Expand Down
201 changes: 0 additions & 201 deletions examples/04_additive_doe.py

This file was deleted.

Loading

0 comments on commit 7e87783

Please sign in to comment.