glygener / glygen-issues

Repository for public GlyGen tickets
GNU General Public License v3.0
0 stars 0 forks source link

Update HCV1a BCO species tags #1326

Closed kmartinez834 closed 1 week ago

kmartinez834 commented 2 weeks ago

When you create BCO objects, programmatically update all HCV1a species tags

from

"dataset_categories": [
                    {
                        "category_name": "species",
                        "category_value": "Hepatitis C virus (isolate H)"
                    },

to:

"dataset_categories": [
                    {
                        "category_name": "species",
                        "category_value": "Hepatitis C virus (isolate H77)"
                    },
rykahsay commented 2 weeks ago

I thought I wrote a program for you to do that -- based on template BCO file YOU provide.

$ cd /software/glygen/
$ python create-bco.py 

Usage: 
create-bco.py  [options]

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -t TOKEN, --token=TOKEN
                        Token string
  -f BCOFILE, --bcofile=BCOFILE
                        Template BCO file
kmartinez834 commented 1 week ago

@rykahsay this isn't for new BCOs. We need to update all existing HCV1a BCOs because the "long name" has changed.

rykahsay commented 1 week ago

Check now

image