John Davis
2ed822afd0
Wrap session.flush in set_dataset_sizes script
2023-06-09 13:05:26 -04:00
Nicola Soranzo
7f04b5d698
Merge branch 'release_22.01' into dev
2022-03-02 20:08:55 +00:00
mvdbeek
034f518e43
Move init_models_from_config to galaxy.model.mapping
2022-03-01 16:50:06 +01:00
Dannon Baker
623a5e165a
Apply black formatting.
...
Apply isort.
2022-02-03 07:42:20 -05:00
Nicola Soranzo
9d74bba7fb
Drop support for retired Python 3.5
...
Upgrade syntax using `pyupgrade --py36-plus` .
Manually drop several `six` imports.
Also:
- Remove broken pr_cache in scripts/bootstrap_history.py
- Fix broken prefix removal in lib/galaxy/tool_util/deps/mulled/mulled_build.py
2020-10-07 11:52:13 +01:00
John Chilton
5f3f792f6f
Unification of Galaxy configuration parsing for scripts/*
2018-03-23 16:14:49 -04:00
Nicola Soranzo
14259b11d9
Python3: finish first pass on whole codebase
2017-12-14 12:01:01 +00:00
Nicola Soranzo
d1bc98dfcb
Python3: fix remaining print statements
...
Remove some debugging prints.
Fix import order.
Consolidate exception logging in ToolShed database migrations.
2017-10-12 18:34:29 +01:00
Nicola Soranzo
a353b2e88f
Fix E127 errors introduced by previous commit
...
using:
```
autopep8 -i -r --exclude $(sed -e 's|^|./|' -e 's|/$||' .ci/flake8_blacklist.txt | paste -sd,) --select E127 .
```
2017-08-17 11:35:39 +01:00
Nicola Soranzo
21b44bf348
Fix all E201 and E202 style errors
...
using the following command:
```
autopep8 -i -r --exclude $(sed -e 's|^|./|' -e 's|/$||' .ci/flake8_blacklist.txt | paste -sd,) --select E201,E202 .
```
2017-08-17 11:35:39 +01:00
Nicola Soranzo
1d17a29c79
Fixes for pycodestyle 2.2.0
2016-11-15 16:56:50 +00:00
Dannon Baker
a0b20a61a2
Initialize objectstore for fix_set_dataset_sizes script (otherwise it doesn't currently run successfully)
2016-06-25 19:04:44 -04:00
Nicola Soranzo
d85db9daa6
Use __file__ when adding paths to sys.path instead of os.getcwd() .
...
Also insert additional paths in position 1 unless strictly necessary.
2016-02-18 15:45:15 +00:00
Nicola Soranzo
34d9388456
Use os.pardir everywhere instead of '..' .
2015-07-14 16:20:29 +01:00
Nicola Soranzo
6569c2dcc3
Partially lint scripts/ .
2015-07-13 20:13:28 +01:00
Dannon Baker
c733ce370b
Fix path insertion vs appending of <galaxy>/lib for all scripts.
2015-02-12 10:34:51 -05:00
Nate Coraor
bc5ec4fec4
Bug fixes to scripts for config subdir.
2014-09-15 16:52:50 -04:00
Nate Coraor
8fadc6392b
Rename universe_wsgi.ini -> galaxy.ini everywhere.
2014-09-15 16:43:51 -04:00
John Duddy
a2c0328241
Merge
2011-10-07 13:25:19 -07:00
Nate Coraor
eea0b7a81a
Be more forgiving about running the disk accounting scripts from outside the galaxy-dist directory.
2011-09-07 09:05:52 -04:00
Nate Coraor
61f392c235
Disk space usage accounting: Users can see how much disk a history is consuming. Disk used is also a column on the history grid. Users can also forcibly purge a dataset from their history. Included is a script (scripts/set_dataset_sizes.py) which will set the value of the new total_size column on the dataset table (includes the contents of the extra_files_path and metadata files).
2011-06-14 12:43:42 -04:00