Skip to content

Commit

Permalink
Merge pull request #35 from pepkit/dev_pipestat_0.10.0
Browse files Browse the repository at this point in the history
update docs for v0.10.0 release
  • Loading branch information
donaldcampbelljr authored Jul 18, 2024
2 parents 3a4bc1c + 58fed24 commit 897a4ac
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
10 changes: 10 additions & 0 deletions docs/pipestat/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) and [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) format.

## [0.10.0] - 2024-07-18
### Fixed
- allow for bool or boolean in schema [#189](https://github.com/pepkit/pipestat/issues/189)
- fix pipestat summarize bugs re: inaccurate paths [#190](https://github.com/pepkit/pipestat/issues/190)
- add support for sqlite dbbackend [#192](https://github.com/pepkit/pipestat/issues/192)

## Added
- pephub backend [#125](https://github.com/pepkit/pipestat/issues/125)


## [0.9.2] - 2024-06-24
### Changed
- User can override pipeline name via parameter or config file, otherwise look at output_schema, then fall back on default as last resort.
Expand Down
10 changes: 9 additions & 1 deletion docs/pipestat/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ properties:
description: "ResultName"

```
- **backend info**: either path to a YAML-formatted file or pipestat config with PostgreSQL database login credentials. Note that the config file can also contain a path to the yaml-formatted results file:
- **backend info**: either path to a YAML-formatted file or pipestat config with PostgreSQL database login credentials.
- Note that the config file can also contain a path to the yaml-formatted results file:
```yaml
schema_path: sample_output_schema.yaml
#The config can contain either a results_file_path (file backend) or a database connection (database backend)
Expand All @@ -35,6 +36,13 @@ database:

```

Beginning with v0.10.0, there is also support for reporting results directly to PEPHub. Simply give PipestatManager a path to a PEPHub registry path:

```python
psm = PipestatManager(pephub_path="databio/pipestat_demo:default", schema_path=my_schema_file_path)
```


Apart from that, there are many other *optional* configuration points that have defaults. Please refer to the [environment variables reference](http://pipestat.databio.org/en/dev/env_vars/) to learn about the the optional configuration options and their meaning.

## Configuration sources
Expand Down
6 changes: 3 additions & 3 deletions docs/pipestat/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ Many of the tests require a postgres database to be set up otherwise many of the
We recommend using docker:
```bash
docker run --rm -it --name pipestat_test_db \
-e POSTGRES_USER=postgres \
-e POSTGRES_PASSWORD=pipestat-password \
-e POSTGRES_USER=pipestatuser \
-e POSTGRES_PASSWORD=shgfty^8922138$^! \
-e POSTGRES_DB=pipestat-test \
-p 5432:5432 \
-p 127.0.0.1:5432:5432 \
postgres
```

0 comments on commit 897a4ac

Please sign in to comment.