Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
d92e4f1
improve readme slightly xx
Feb 10, 2025
771981d
Merge pull request #1 from hamruu/update-readme
Fel1-x Feb 10, 2025
358a538
Revert "improve readme slightly xx" (#2)
nickhardman3 Feb 10, 2025
8a1a6b6
Added UV autoinstall dependencies (#3)
Fel1-x Feb 10, 2025
a50ac2c
Update repre_sample_2D.py
miloshevskamarija Feb 10, 2025
d2c65f4
Update repre_sample_2D.py
miloshevskamarija Feb 10, 2025
07d0b4a
final?
miloshevskamarija Feb 10, 2025
144a752
Added UV autoinstall dependencies for all remaining python scripts, n…
Feb 12, 2025
bca1ce9
Merge pull request #5 from hamruu/miloshevskamarija-comment-code
miloshevskamarija Feb 12, 2025
ac31230
Merge pull request #7 from hamruu/felix-dependancies
hamruu Feb 13, 2025
2145a53
Added a test project directory and help call (#10)
hamruu Feb 14, 2025
94774bd
Felix branch (#11)
Fel1-x Feb 14, 2025
d8cb592
Felix branch (#12)
Fel1-x Feb 14, 2025
0768006
removed generated files, and adjusted the package to function correct…
Fel1-x Feb 15, 2025
868c001
Merge pull request #15 from hamruu/felix-branch
nickhardman3 Feb 15, 2025
d005d54
added comments to fully cover read_file_directly and Module_call
nickhardman3 Feb 15, 2025
2e542f5
Merge pull request #16 from hamruu/comments
hamruu Feb 15, 2025
c61157d
Added git.ignore, cleaned up repository
hamruu Feb 27, 2025
959616a
Cleanup (#23)
hamruu Mar 4, 2025
2dc6873
Acetaldehyde implementation (#24)
hamruu Mar 6, 2025
24fa0a7
Pytesting (#25)
nickhardman3 Mar 7, 2025
26f6818
Added geometry subsample outputs (#26)
Fel1-x Mar 7, 2025
79feb22
Added workflow to .github, namely ci.yml (#27)
hamruu Mar 7, 2025
1306aa0
Added the one state subsamples
Fel1-x Mar 9, 2025
b23d46e
added pytest to the ci file (#32)
nickhardman3 Mar 17, 2025
bbc701c
Testing (#33)
nickhardman3 Mar 18, 2025
3e6478e
Added all authors to toml, overhauled README.md (#34)
hamruu Mar 18, 2025
1eaa8c9
Update README.md
Fel1-x Mar 20, 2025
fd8e7e3
Update README.md
Fel1-x Mar 20, 2025
9937ab0
Update README.md
Fel1-x Mar 20, 2025
9f8e4c6
Oscillator strength direct additions (#28)
Fel1-x Mar 24, 2025
0a7798d
Update README.md
Fel1-x Mar 25, 2025
83b9af9
Update README.md
Fel1-x Mar 25, 2025
be9ca30
Update README.md
Fel1-x Mar 25, 2025
cda2a74
Update README.md
Fel1-x Mar 25, 2025
1576192
Testing (#36)
nickhardman3 Mar 26, 2025
9161f57
Added a new function to rep_sampler.py that selects geometries from a…
Fel1-x Mar 27, 2025
2bd16de
Add files via upload
hamruu Mar 27, 2025
dbc8ede
Add files via upload
Fel1-x Mar 27, 2025
5ee12a1
Remove acetaldehyde folder
danielhollas May 19, 2025
a3699c1
Stepan should be the author in pyproject.toml
danielhollas May 19, 2025
c4155b3
use setup-uv action
danielhollas May 19, 2025
d070fdd
Use old README for now
danielhollas May 19, 2025
8ec7d36
Remove dummy routine
danielhollas May 19, 2025
becae44
Set version to 0.0.1a0
danielhollas May 19, 2025
6ae32e0
Bump pytest dependency
danielhollas May 19, 2025
e50b0bb
Fix setup-uv action
danielhollas May 19, 2025
8901d94
Test python 3.13, only on linux
danielhollas May 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Test

on:
pull_request:
push:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
FORCE_COLOR: 3

jobs:
test:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.13"]

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- uses: astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python-version }}
activate-environment: true

- name: Install package
run: uv pip install -e .[dev]

- name: Test package
run: pytest tests/
160 changes: 160 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation.
docs/_build/

# PyBuilder
.pybuilder/
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

# setuptools_scm
src/*/_version.py


# ruff
.ruff_cache/

# OS specific stuff
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Common editor files
*~
*.swp

uv.lock
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# /// script
# requires-python = ">=3.11"
# dependencies = [
# "joblib",
# "numpy",
# "scikit-learn",
# ]
# ///
"""
Program for spectra calculation using the reflection principle including error bars and other features.

Expand Down
File renamed without changes.
7 changes: 7 additions & 0 deletions repre_sample_1D.py → Old_Implementation/repre_sample_1D.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
#!/usr/bin/env python3
# /// script
# requires-python = ">=3.11"
# dependencies = [
# "joblib",
# "numpy",
# ]
# ///
# -*- coding: utf-8 -*-
"""
Program for the selection of the most representative molecular geometries for spectra modelling.
Expand Down
Loading