Spaces:
Sleeping
Sleeping
venkatesh commited on
Commit ·
cd2aecf
1
Parent(s): de092c8
FIXED TEXT
Browse files
tab8.py
CHANGED
|
@@ -590,47 +590,36 @@ def regenerate_reports_tool():
|
|
| 590 |
|
| 591 |
with st.expander("📖 Instructions"):
|
| 592 |
st.markdown("""
|
| 593 |
-
|
| 594 |
-
|
| 595 |
-
|
| 596 |
-
|
| 597 |
-
|
| 598 |
-
|
| 599 |
-
|
| 600 |
-
|
| 601 |
-
|
| 602 |
-
|
| 603 |
-
|
| 604 |
-
|
| 605 |
-
|
| 606 |
-
|
| 607 |
-
|
| 608 |
-
|
| 609 |
-
|
| 610 |
-
|
| 611 |
-
|
| 612 |
-
|
| 613 |
-
|
| 614 |
-
|
| 615 |
-
|
| 616 |
-
|
| 617 |
-
|
| 618 |
-
|
| 619 |
-
|
| 620 |
-
|
| 621 |
-
|
| 622 |
-
|
| 623 |
-
|
| 624 |
-
|
| 625 |
-
|
| 626 |
-
- `.png` = file extension
|
| 627 |
-
|
| 628 |
-
**Important Notes:**
|
| 629 |
-
- The tool preserves any manual folder structure changes you made in the Excel file
|
| 630 |
-
- Files with the same name but different extensions are handled intelligently:
|
| 631 |
-
- Non-image formats (mp4, mov, gif, etc.) take priority over images
|
| 632 |
-
- Only ONE file is counted and displayed (no duplicates)
|
| 633 |
-
- Non-image formats are highlighted in yellow in the Excel
|
| 634 |
-
- Report files are automatically named with the current date (YYYYMMDD format)
|
| 635 |
-
- The tool will skip any existing report files when processing
|
| 636 |
-
""")
|
|
|
|
| 590 |
|
| 591 |
with st.expander("📖 Instructions"):
|
| 592 |
st.markdown("""
|
| 593 |
+
**What is Tab 6 (Re Run Matrix)?**
|
| 594 |
+
|
| 595 |
+
Regenerates PDF and Excel reports from Tab 5 output after you've manually added new files.
|
| 596 |
+
|
| 597 |
+
**When to use:**
|
| 598 |
+
1. You have Tab 5 output with reports
|
| 599 |
+
2. You manually added new files (following naming convention)
|
| 600 |
+
3. You want updated reports with today's date
|
| 601 |
+
|
| 602 |
+
**How to use:**
|
| 603 |
+
1. Take your Tab 5 output folder (must include both PDF and Excel reports)
|
| 604 |
+
2. Add any new files following the naming convention
|
| 605 |
+
3. ZIP the entire folder
|
| 606 |
+
4. Upload and click "Regenerate Reports"
|
| 607 |
+
5. Download updated reports
|
| 608 |
+
|
| 609 |
+
**Naming Convention:**
|
| 610 |
+
`{markennummer}B{blocknummer}{marke}{count_str}{cleaned}{ext}`
|
| 611 |
+
|
| 612 |
+
Example: `01B01dove01bodylotion.png`
|
| 613 |
+
- `01` = brand number
|
| 614 |
+
- `B01` = block/folder number
|
| 615 |
+
- `dove` = brand name
|
| 616 |
+
- `01` = sequential counter
|
| 617 |
+
- `bodylotion` = cleaned name
|
| 618 |
+
- `.png` = file extension
|
| 619 |
+
|
| 620 |
+
**Key Features:**
|
| 621 |
+
- **Deduplication**: Same filename with different extensions counted only once
|
| 622 |
+
- **Priority**: Non-image formats (mp4, mov, gif, txt) prioritized over images
|
| 623 |
+
- **Highlighting**: Non-image formats highlighted in yellow in Excel
|
| 624 |
+
- **Preserves**: Manual folder structure changes from Excel file
|
| 625 |
+
""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|