Skip to content

Commit

Permalink
Merge pull request #111 from 4dn-dcic/ajs_upd_rel_nb_uc_stat
Browse files Browse the repository at this point in the history
Bug fix for pre-release == released to lab for UserContent
  • Loading branch information
aschroed authored Feb 26, 2024
2 parents ce88645 + 79e46cd commit 4a8d0ec
Show file tree
Hide file tree
Showing 4 changed files with 989 additions and 714 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,19 @@ dcicwrangling
Change Log
------


3.0.2
=====

`PR:111 update setting for repliseq v16.1 <https://github.com/4dn-dcic/dcicwrangling/pull/111>_`

* bug fix in release notebook so user_content items are dealt with appropriately when changing status of sets to pre-release


3.0.1
=====

`PR:119 update setting for repliseq v16.1 <https://github.com/4dn-dcic/dcicwrangling/pull/110>_`
`PR:110 update setting for repliseq v16.1 <https://github.com/4dn-dcic/dcicwrangling/pull/110>_`

* updates to wfr_settings and cleanup utils to support updated v16.1 repliseq

Expand Down
4 changes: 4 additions & 0 deletions notebooks/useful_notebooks/01_find_and_release.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,10 @@
" if change_status == 'released' and a_type in ['publication']:\n",
" patch_data['status'] = 'current'\n",
"\n",
" # special case: pre-release user content\n",
" if change_status == 'pre-release' and a_type in ['static_section', 'higlass_view_config', 'microscopy_configuration', 'image_settings']:\n",
" patch_data['status'] = 'released to lab'\n",
"\n",
" # Special case: FASTQ and BAM files from protected_data individual are not released but restricted\n",
" if change_level >= 9 and restricted_exps and a_type in ['file_fastq', 'file_processed'] and raw_data['file_format']['file_format'] in ['fastq', 'bam']:\n",
" is_restricted = file_in_exp(raw_data, restricted_exps)\n",
Expand Down
Loading

0 comments on commit 4a8d0ec

Please sign in to comment.