Skip to content

Commit aa79baa

Browse files
Remove duplicate images and clean repo config
- Remove 12 unreferenced files from images/ (10 PDFs duplicated in R/docs/articles/figures/, 1 PDF duplicate of PNG, 1 unused QR code) - Rewrite .gitignore: remove fake API-key filename patterns that cannot prevent secret leaks, deduplicate entries, organize by category - Clean .gitattributes: remove unconfigured filter=remove-sensitive rules, remove redundant text declarations covered by text=auto
1 parent 9af95ae commit aa79baa

14 files changed

+27
-120
lines changed

.gitattributes

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
1-
# Git attributes for mLLMCelltype
2-
3-
# Ensure consistent line endings
1+
# Line endings
42
* text=auto
5-
*.md text
6-
*.py text
7-
*.R text
8-
*.json text
9-
*.yml text
10-
*.yaml text
113

124
# Binary files
135
*.png binary
@@ -17,18 +9,6 @@
179
*.rds binary
1810
*.RData binary
1911

20-
# Files that should never be committed (additional safety)
21-
**/api_keys.* filter=remove-sensitive
22-
**/secrets.* filter=remove-sensitive
23-
**/*_key.* filter=remove-sensitive
24-
**/*_secret.* filter=remove-sensitive
25-
**/credentials.* filter=remove-sensitive
26-
**/*test_report*.md filter=remove-sensitive
27-
**/*test_results*.json filter=remove-sensitive
28-
29-
# Archive directory (if it gets recreated)
30-
archive/** filter=remove-sensitive
31-
32-
# Language-specific settings
12+
# Language-specific diff
3313
*.py diff=python
3414
*.R diff=r

.gitignore

Lines changed: 25 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -1,137 +1,65 @@
1-
# R related
1+
# R
22
.Rproj.user
33
.Rhistory
44
.RData
55
.Ruserdata
66
*.Rcheck
77
*.tar.gz
8-
.build_files
9-
logs/
10-
test_logs/
11-
.DS_Store
12-
13-
# R package build files
148
R/Meta/
159
R/doc/
1610
R/inst/doc/
1711
R/vignettes/*.html
1812
R/vignettes/*.pdf
19-
20-
# R cache and temporary files
2113
R/consensus_cache/
2214
R/cache/
2315
R/*_cache/
2416
R/*.rds
2517
R/*.pdf
2618
R/*.png
2719
R/*.jpg
28-
R/*.jpeg
29-
30-
# API keys and sensitive files
31-
R/api_keys.env
3220
R/examples/
33-
*.env
34-
*api_key*
35-
*secret*
21+
R/.Rcheck-ignore
3622

37-
# Python related
23+
# Python
3824
__pycache__/
3925
*.py[cod]
4026
*$py.class
4127
*.so
42-
.Python
43-
env/
28+
*.egg-info/
29+
*.egg
4430
build/
45-
develop-eggs/
4631
dist/
47-
downloads/
32+
sdist/
33+
develop-eggs/
4834
eggs/
4935
.eggs/
50-
lib/
51-
lib64/
52-
parts/
53-
sdist/
54-
var/
55-
*.egg-info/
56-
.installed.cfg
57-
*.egg
36+
37+
# Environments & secrets
5838
.env
59-
logs/
60-
cache/
39+
*.env
40+
!.env.template
41+
venv*/
42+
env/
6143

62-
# 通用
44+
# IDE & OS
6345
.DS_Store
6446
.idea/
6547
.vscode/
66-
test_pbmc3k.R
48+
.playwright-mcp/
49+
.pytest_cache/
50+
.ruff_cache/
6751

68-
# Large files and visualizations
69-
mLLMCelltype_visualizations/
70-
mLLMCelltype-poster/
71-
72-
# Test files and results
52+
# Project-specific
53+
logs/
54+
cache/
55+
demos/
56+
examples/
7357
tests/
7458
R/tests/
75-
R/.Rcheck-ignore
7659
test_scripts/
77-
78-
# Web application
79-
mllmcelltype-web/
80-
81-
# Additional sensitive patterns
82-
**/api_keys.*
83-
**/secrets.*
84-
**/*_key.*
85-
**/*_secret.*
86-
**/token.*
87-
**/*token*
88-
**/.env.*
89-
!**/.env.example
90-
!**/.env.template
91-
**/config/local.*
92-
**/credentials.*
93-
94-
# API Key patterns (comprehensive)
95-
*sk-*
96-
*sk_*
97-
*api_key_*
98-
*apikey*
99-
*API_KEY*
100-
*OPENAI_API_KEY*
101-
*ANTHROPIC_API_KEY*
102-
*GOOGLE_API_KEY*
103-
*GEMINI_API_KEY*
104-
*QWEN_API_KEY*
105-
*GROK_API_KEY*
106-
*OPENROUTER_API_KEY*
107-
*DEEPSEEK_API_KEY*
108-
*MINIMAX_API_KEY*
109-
*ZHIPU_API_KEY*
110-
*STEPFUN_API_KEY*
111-
112-
# Files that might contain API keys
113-
**/test_report*.md
114-
**/test_results*.json
115-
**/langextract_test*.json
116-
**/*_test_report.md
117-
**/*_test_results.json
118-
**/api_test*.py
119-
**/api_test*.R
120-
**/test_api*.py
121-
**/test_api*.R
122-
123-
# Archive and documentation that might contain sensitive info
12460
archive/
125-
docs/test_reports/
126-
docs/api_tests/
127-
**/LANGEXTRACT_TEST_REPORT.md
128-
**/API_TEST_*.md
129-
130-
# Demo and development directories
131-
demos/
132-
examples/
133-
test_scripts/
61+
mllmcelltype-web/
62+
mLLMCelltype_visualizations/
63+
mLLMCelltype-poster/
13464
dev_tools/
135-
136-
# Claude Code
13765
CLAUDE.md

images/10_publication_figure.pdf

-3.9 MB
Binary file not shown.
-3.84 MB
Binary file not shown.

images/2_density_contour_umap.pdf

-3.85 MB
Binary file not shown.
-3.8 MB
Binary file not shown.

images/4_umap_with_marginals.pdf

-1.97 MB
Binary file not shown.
-3.77 MB
Binary file not shown.

images/6_enhanced_entropy.pdf

-3.77 MB
Binary file not shown.
-5.74 MB
Binary file not shown.

0 commit comments

Comments
 (0)