VirtualFlyBrain / curation

A repository of records specifying curation into the VFB Knowledge Base
0 stars 0 forks source link

anat_Xu2020roi_201008 test is failing #84

Open Robbie1977 opened 3 years ago

Robbie1977 commented 3 years ago

Been deleted in @dosumis and @admclachlan's repo so cleared from @Clare72s but should either be fixed or removed from master?

https://github.com/VirtualFlyBrain/curation/blob/master/src/vfb/curation/test/resources/records/new_images/to_submit/anat_Xu2020roi_201008.tsv


  warnings.warn("No properties to check.")
WARNING:root:Error in record anat_Xu2020roi_201008, row
 {'filename': "a'1(R)", 'synonyms': "a'1(R)", 'is_a': "mushroom body alpha' lobe slice 1", 'part_of': 'adult brain', 'label': "a'1(R) on JRC_FlyEM_Hemibrain", 'Template': 'JRC_FlyEM_Hemibrain_c', 'Imaging_type': 'computer graphic', 'Curator': 'adm71', 'DataSet': 'Xu2020roi'}
:Not attempting to write row due to invalid object 'mushroom body alpha' lobe slice 1'.
Traceback (most recent call last):
  File "run_peevish.py", line 68, in <module>
    raise Exception("Failing records. See preceding warnings for details.")
Exception: Failing records. See preceding warnings for details.```
dosumis commented 3 years ago

This is a code test. We just need to change or delete this example. Should be done in master and merged out to branches, like any other code change. I'm wondering why it has started failing. I may have added this example to test handling of single quotes in names.