Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improves content of the index and about page. #208

Merged
merged 7 commits into from
Nov 21, 2023
Merged
Changes from 1 commit
Commits
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
Prev Previous commit
Next Next commit
change module names
  • Loading branch information
DunklesArchipel committed Nov 20, 2023
commit 286ea548fa1ff9e54fc9d93a4a29fd60c6e3ef16
18 changes: 9 additions & 9 deletions website/generator/database.py
Original file line number Diff line number Diff line change
@@ -15,34 +15,34 @@

"""
# ********************************************************************
# This file is part of echemdb.
# This file is part of echemdb-website.
#
# Copyright (C) 2021 Albert Engstfeld
# Copyright (C) 2021-2023 Albert Engstfeld
# Copyright (C) 2021 Johannes Hermann
# Copyright (C) 2021-2022 Julian Rüth
# Copyright (C) 2021 Nicolas Hörmann
#
# echemdb is free software: you can redistribute it and/or modify
# echemdb-website is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# echemdb is distributed in the hope that it will be useful,
# echemdb-website is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with echemdb. If not, see <https://www.gnu.org/licenses/>.
# along with echemdb-website. If not, see <https://www.gnu.org/licenses/>.
# ********************************************************************

import os.path

import echemdb.cv.cv_database
import echemdb.local
import unitpackage.cv.cv_collection
import unitpackage.local

packages = echemdb.local.collect_datapackages(
packages = unitpackage.local.collect_datapackages(
os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "..", "data"))
)

cv = echemdb.cv.cv_database.CVDatabase(packages)
cv = unitpackage.cv.cv_collection.CVCollection(packages)