Skip to content

Commit 1956fba

Browse files
committed
Merge master into lipid_wf_update
2 parents 7c474c5 + 14c062a commit 1956fba

81 files changed

Lines changed: 85391 additions & 79783 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitlab-ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ include:
33

44

55
services:
6-
- postgres
6+
- postgres:13
77

88
variables:
99
POSTGRES_DB: molformula
1010
POSTGRES_USER: coremsdb
1111
POSTGRES_PASSWORD: coremsmolform
1212
POSTGRES_HOST_AUTH_METHOD: trust
13-
COREMS_DATABASE_URL: postgresql://coremsdb:coremsmolform@localhost:5432/molformula
13+
COREMS_DATABASE_URL: postgresql://coremsdb:coremsmolform@postgres:5432/molformula
1414
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
1515

1616
stages:
@@ -32,6 +32,7 @@ test-source:
3232
- python3 -m pip install --upgrade pip
3333
- python3 -m pip install -r requirements.txt
3434
- python3 -m pip install pytest pytest-cov
35+
- python3 -m pip install psycopg2
3536
- python3 -c "import pathlib; [p.unlink() for p in pathlib.Path('.').rglob('tests/win_only/__init__.py')]"
3637
- export PYTHONNET_RUNTIME=coreclr
3738
- pytest --cache-clear

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<br>
66
<br>
7-
<a href="https://doi.org/10.5281/zenodo.4641552"><img src="https://zenodo.org/badge/DOI/10.5281/zenodo.4641552.svg" alt="CoreMS DOI" style="width:150px"></a>
7+
<a href="https://doi.org/10.5281/zenodo.14009575"><img src="https://zenodo.org/badge/DOI/10.5281/zenodo.14009575.svg" alt="DOI"></a>
88
<br>
99
</div>
1010

@@ -337,9 +337,9 @@ If you use CoreMS in your work, please use the following citation:
337337
338338
Version [3.0.0 Release on GitHub](https://github.com/EMSL-Computing/CoreMS/releases/tag/v3.0.0), archived on Zenodo:
339339
340-
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4641552.svg)](https://doi.org/10.5281/zenodo.4641552)
340+
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.14009575.svg)](https://doi.org/10.5281/zenodo.14009575)
341341
342-
Yuri E. Corilo, William R. Kew, Lee Ann McCue (2021, March 27). EMSL-Computing/CoreMS: CoreMS 2.0.1 (Version v2.0.1), as developed on Github. Zenodo. http://doi.org/10.5281/zenodo.4641552
342+
Yuri E. Corilo, William R. Kew, Lee Ann McCue, Katherine R . Heal, James C. Carr (2024, October 29). EMSL-Computing/CoreMS: CoreMS 3.0.0 (Version v3.0.0), as developed on Github. Zenodo. http://doi.org/10.5281/zenodo.14009575
343343
344344
```
345345

corems/__init__.py

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,17 @@
88
# Get the path to the README file
99
readme_path = os.path.join(os.path.dirname(__file__), "..", "README.md")
1010

11-
# Read the contents of the README file
12-
with open(readme_path, "r", encoding="utf-8") as readme_file:
13-
__doc__ = readme_file.read()
11+
# Read the contents of the README file if it exists
12+
if os.path.exists(readme_path):
13+
try:
14+
with open(readme_path, "r", encoding="utf-8") as readme_file:
15+
__doc__ = readme_file.read()
16+
except Exception as e:
17+
__doc__ = "CoreMS: A comprehensive mass spectrometry framework for software development and data analysis of small molecules analysis."
18+
print(f"Warning: Could not read README.md file. Error: {e}")
19+
else:
20+
__doc__ = "CoreMS: A comprehensive mass spectrometry framework for software development and data analysis of small molecules analysis."
21+
1422

1523

1624
def timeit(method):

docs/corems.html

Lines changed: 74 additions & 73 deletions
Large diffs are not rendered by default.

docs/corems/chroma_peak/calc/ChromaPeakCalc.html

Lines changed: 257 additions & 251 deletions
Large diffs are not rendered by default.

docs/corems/chroma_peak/factory/chroma_peak_classes.html

Lines changed: 1892 additions & 1816 deletions
Large diffs are not rendered by default.

docs/corems/encapsulation/constant.html

Lines changed: 2556 additions & 2005 deletions
Large diffs are not rendered by default.

docs/corems/encapsulation/factory/parameters.html

Lines changed: 720 additions & 652 deletions
Large diffs are not rendered by default.

docs/corems/encapsulation/factory/processingSetting.html

Lines changed: 1866 additions & 1745 deletions
Large diffs are not rendered by default.

docs/corems/encapsulation/input/parameter_from_json.html

Lines changed: 756 additions & 694 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)