Skip to content

Commit

Permalink
Merge pull request #3 from rpakishore/Dev20240207
Browse files Browse the repository at this point in the history
Dev20240207
  • Loading branch information
rpakishore authored Feb 28, 2024
2 parents 2154ab8 + 6dd5156 commit 5e321a4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ sap.save(r'\Path\to\save\file.sdb')

### 3.1. GUI

The repo now supports a streamlit GUI for the wrapper. Checkout [`GUI.md`](/documentation/Usage/GUI.md) for instructions.
The repo has an optional streamlit GUI for the wrapper. Checkout [`GUI.md`](/documentation/Usage/GUI.md) for installation and usage instructions.

### 3.2. Layout Documentation

Expand Down
9 changes: 8 additions & 1 deletion documentation/Usage/GUI.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ The package not comes pre-compiled with the streamlit package.
cd ak_sap
```

- Install dependencies

```bash
pip install flit && flit install
```

- Launch the app run

```bash
Expand All @@ -26,7 +32,7 @@ The package not comes pre-compiled with the streamlit package.
- Alternatively, In windows launch by executing the script

```cmd
cd scripts\win
cd scripts
run.bat
```

Expand Down Expand Up @@ -64,6 +70,7 @@ Steps:
8. The exported file will be of format "`SAP filename`-`Selected Node #`-`Selected Section Shape`-`MMDD`_`HHMM`.pe"

To Implement:

- [ ] Incorporate the section profile into the `.pe` file.
- [ ] Replace the manual deletion of existing loadcase with inbuilt `delete_existing` method of Hilti-Profis Class in version `0.0.4`.
- [ ] Defer data generation until the click of download button (Part of Streamlit roadmap for May-July 2024).
11 changes: 5 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,9 @@ dynamic = ["version", "description"]
dependencies = [
"comtypes==1.2.0",
"forallpeople==2.6.7",
"keyring==24.3.0",
"pandas==2.1.3",
"rich==13.7.0",
"typer[all]==0.9.0",
"pytest==7.4.3",
"streamlit==1.31.0",
"hilti_profis==0.0.3"
"typer[all]==0.9.0"
]

[project.optional-dependencies]
Expand All @@ -28,7 +24,10 @@ dev = [
"ipykernel",
"ipywidgets",
"pandasgui",
"line-profiler"
"line-profiler",
"pytest==7.4.3",
"streamlit==1.31.0",
"hilti_profis==0.0.3"
]

[project.urls]
Expand Down

0 comments on commit 5e321a4

Please sign in to comment.