Skip to content
This repository has been archived by the owner. It is now read-only.

[Search] 'Save as .csv' does not create a CSV a user would expect #88

Open
pafonta opened this issue Jul 19, 2018 · 0 comments
Open

[Search] 'Save as .csv' does not create a CSV a user would expect #88

pafonta opened this issue Jul 19, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@pafonta
Copy link
Contributor

pafonta commented Jul 19, 2018

Case 1: Annotations

  1. Search by 'Annotation type' with type 'position'.
  2. Deselect all but 'Publication ID' in the 'Fields to include'.
  3. Click on 'Search'.
  4. Click on 'Save as .csv'.
  5. Name the file and click on 'Save'.
  6. Open the CSV file.
  7. a) The headers are incorrect except for the selected field to include.
  8. b) Other columns than the selected field and the annotation ID are not expected and should not be included when not requested.

This CSV looks like the following:

,obj_annotation,Publication ID
0,"""52afbf40-04bc-11e6-b795-64006a4c56ef"";"""";""<class 'type'>"";""['oreilly']"";[{'id': 'NIFORG:birnlex_254', 'name': 'Wistar Rat'}]",10.1038/367069a0
1,"""f4e623d0-04bc-11e6-b795-64006a4c56ef"";"""";""<class 'type'>"";""['oreilly']"";[{'id': 'NIFORG:birnlex_254', 'name': 'Wistar Rat'}]",10.1038/367069a0

Case 2: Parameters

  1. Search by 'Result type' with type 'function'.
  2. Deselect all but 'Parameter instance ID' in the 'Fields to include'.
  3. Click on 'Search'.
  4. Click on 'Save as .csv'.
  5. Name the file and click on 'Save'.
  6. Open the CSV file.
  7. a) The headers are incorrect except for the selected field to include.
  8. b) Other columns than the selected field and the paramter ID are not expecetd and should not be included when not requested.

This CSV looks like the following:

,obj_parameter,obj_annotation,Parameter instance ID
0,"{'id': '71233092-eb80-11e5-a9b7-64006a4c56ef', 'description': {'type': 'function', 'depVar': {'typeId': 'BBP-050002', 'unit': 'dimensionless', 'statistic': 'raw'}, 'indepVars': [{'typeId': 'BBP-010001', 'unit': 'mV', 'statistic': 'raw'}], 'parameterRefs': [{'instanceId': '762f45f0-eade-11e5-94e2-64006a4c56ef', 'paramTypeId': 'BBP-090002'}, {'instanceId': '7f3542e0-eb82-11e5-ac32-64006a4c56ef', 'paramTypeId': 'BBP-101002'}], 'equation': 'prop_inact_ion_curr = 1/(1+exp((potential_membrane - mid_amp_inact)/slope_factor_inact))'}, 'requiredTags': [{'id': 'NIFMOL:nifext_8054', 'name': 'Transmembrane ionic current', 'rootId': 'nifext_8054'}, {'id': 'NIFCELL:sao1813327414', 'name': 'Cell', 'rootId': 'sao1813327414'}], 'isExperimentProperty': False, 'relationship': {'type': 'point', 'entity1': {'id': 'NIFMOL:nifext_8055', 'name': 'Sodium current'}, 'entity2': 'None'}}","""dce8c3a2-e9ee-11e5-bcda-64006a4c56ef"";""Boltzmann function used to model steady-state inactivation curve. Measured using prepulpse to membrane potential between -120 and -30 mV."";""<class 'type'>"";""['oreilly']"";[{'id': 'NIFGA:birnlex_721', 'name': 'Hippocampus'}, {'id': 'NIFORG:birnlex_254', 'name': 'Wistar Rat'}, {'id': 'NIFMOL:nifext_8055', 'name': 'Sodium current'}, {'id': 'NIFMOL:sao1797800540', 'name': 'Sodium Channel'}]",71233092-eb80-11e5-a9b7-64006a4c56ef
1,"{'id': 'ae28694a-eb84-11e5-b534-64006a4c56ef', 'description': {'type': 'function', 'depVar': {'typeId': 'BBP-050002', 'unit': 'dimensionless', 'statistic': 'raw'}, 'indepVars': [{'typeId': 'BBP-010001', 'unit': 'mV', 'statistic': 'raw'}], 'parameterRefs': [{'instanceId': '042c49f8-eb83-11e5-ac32-64006a4c56ef', 'paramTypeId': 'BBP-090002'}, {'instanceId': '5247d620-eb83-11e5-ac32-64006a4c56ef', 'paramTypeId': 'BBP-101002'}], 'equation': 'prop_inact_ion_curr = 1/(1+exp((potential_membrane - mid_amp_inact)/slope_factor_inact))'}, 'requiredTags': [{'id': 'NIFMOL:nifext_8054', 'name': 'Transmembrane ionic current', 'rootId': 'nifext_8054'}, {'id': 'NIFCELL:sao1813327414', 'name': 'Cell', 'rootId': 'sao1813327414'}], 'isExperimentProperty': False, 'relationship': {'type': 'point', 'entity1': {'id': 'NIFMOL:nifext_8055', 'name': 'Sodium current'}, 'entity2': 'None'}}","""dce8c3a2-e9ee-11e5-bcda-64006a4c56ef"";""Boltzmann function used to model steady-state inactivation curve. Measured using prepulpse to membrane potential between -120 and -30 mV."";""<class 'type'>"";""['oreilly']"";[{'id': 'NIFGA:birnlex_721', 'name': 'Hippocampus'}, {'id': 'NIFORG:birnlex_254', 'name': 'Wistar Rat'}, {'id': 'NIFMOL:nifext_8055', 'name': 'Sodium current'}, {'id': 'NIFMOL:sao1797800540', 'name': 'Sodium Channel'}]",ae28694a-eb84-11e5-b534-64006a4c56ef
@pafonta pafonta added the bug label Jul 19, 2018
@pafonta pafonta self-assigned this Jul 19, 2018
@pafonta pafonta added this to the v0.6.0 milestone Oct 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant