Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Gene and BioFeature to sheet_order and removed references to Ta… #130

Merged
merged 7 commits into from May 13, 2019

Conversation

aschroed
Copy link
Member

@aschroed aschroed commented May 8, 2019

…rget from docs

@aschroed aschroed requested a review from KorayKirli May 8, 2019 19:38
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 85.195% when pulling ef57b12 on add_biofeat_gene into 0c893ad on master.

@coveralls
Copy link

coveralls commented May 8, 2019

Coverage Status

Coverage increased (+0.1%) to 85.506% when pulling f792dce on add_biofeat_gene into 0c893ad on master.

@@ -264,7 +264,7 @@ The scripts accepts the following parameters:.

**To get the complete list of relevant sheets in one workbook:**

get_field_info --type Publication --type Document --type Vendor --type Protocol --type BiosampleCellCulture --type Biosource --type Enzyme --type Construct --type TreatmentChemical --type TreatmentRnai --type Modification --type Biosample --type FileFastq --type FileSet --type IndividualHuman --type IndividualMouse --type ExperimentHiC --type ExperimentCaptureC --type ExperimentRepliseq --type Target --type GenomicRegion --type ExperimentSet --type ExperimentSetReplicate --type Image --comments --outfile AllItems.xls
get_field_info --type Publication --type Document --type Vendor --type Protocol --type BiosampleCellCulture --type Biosource --type Enzyme --type Construct --type TreatmentChemical --type TreatmentRnai --type Modification --type Biosample --type FileFastq --type FileSet --type IndividualHuman --type IndividualMouse --type ExperimentHiC --type ExperimentCaptureC --type ExperimentRepliseq --type BioFeature --type GenomicRegion --type Gene --type ExperimentSet --type ExperimentSetReplicate --type Image --comments --outfile AllItems.xls
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might want to update this a bit more to make it less outdated (ex. TreatmentAgent instead of TreatmentChemical, remove FileSet). Could also just replace with --type all or one of the preset options (--type hic)

*Full list*
~~~~
python3 get_field_info.py --type Publication --type Document --type Vendor --type Protocol --type ProtocolsCellCulture --type Biosource --type Enzyme --type Construct --type TreatmentChemical --type TreatmentRnai --type Modification --type Biosample --type File --type FileSet --type IndividualHuman --type IndividualMouse --type ExperimentHiC --type ExperimentCaptureC --type Target --type GenomicRegion --type ExperimentSet --type Image --outfile AllItems.xls --order

python3 get_field_info.py --type Publication --type Document --type Vendor --type Protocol --type ProtocolsCellCulture --type Biosource --type Enzyme --type Construct --type TreatmentChemical --type TreatmentRnai --type Modification --type Biosample --type File --type FileSet --type IndividualHuman --type IndividualMouse --type ExperimentHiC --type ExperimentCaptureC --type BioFeature --type GenomicRegion --type ExperimentSet --type Image --outfile AllItems.xls --order
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

other sheets worth updating as well?

… of bugs in build_field_list function having to do with embedded objects that were not arrays and 'array of string' field_type typo
@aschroed
Copy link
Member Author

On top of adding BioFeature and Gene and removing Target and references to it in code and docs.

  • permission: import_item fields are now excluded from sheets unless admin

  • if admin but want to have those fields excluded can use --noadmin option (has no effect for regular users)

  • suggested_enum values are now included in Choices row if 'include_enums' option is True

  • also found a couple of bugs in 'build_field_list' function

  • one that prevented embedded objects that were not members of lists from having their properties included as columns eg. 'format_specification' in file_format

  • another that was a typo in 'array of string' that would prevent enum values being showed as Choices

@KorayKirli KorayKirli merged commit 6e6a2b4 into master May 13, 2019
@KorayKirli KorayKirli deleted the add_biofeat_gene branch May 13, 2019 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants