galaxyproject / galaxyproject/kui

Datasets counts are inflated

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

The `gxadmin dataset-count` command [used in the script](https://github.com/galaxyproject/kui/blob/4e402afbca7d418413a853561de0a5a304cc6305/kui.sh#L155) includes deleted datasets:

```
$ gxadmin query dataset-count 2007-01-01
num_datasets
--------------
6742

$ gxadmin query q "SELECT count(id) FROM dataset where create_time<'2007-01-01'"
count
-------
6742

$ gxadmin query q "SELECT count(id) FROM dataset where create_time<'2007-01-01' and deleted=false"
count
-------
1090
```

We likely don't want those counted?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.